[configure.ac] Build on FreeBSD/PowerPC64 (mono/mono#18015)
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Wed, 4 Dec 2019 00:56:30 +0000 (19:56 -0500)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2019 00:56:30 +0000 (19:56 -0500)
Community contribution from https://github.com/mono/mono/issues/18009
from @igorzigorz

Commit migrated from https://github.com/mono/mono/commit/467d46f8abbd55c242b267771aa7575730a2a72c

src/mono/configure.ac

index def6f68..d40c085 100644 (file)
@@ -358,6 +358,10 @@ case "$host" in
                        # https://bugzilla.novell.com/show_bug.cgi?id=504411
                        disable_munmap=yes
                        ;;
+               powerpc*-*-freebsd*)
+                       # https://bugzilla.novell.com/show_bug.cgi?id=504411
+                       disable_munmap=yes
+                       ;;
                riscv*)
                        support_boehm=no
                        with_gc=sgen
@@ -4458,7 +4462,7 @@ case "$host" in
                ;;
        macppc-*-openbsd* | powerpc*-*-linux* | powerpc-*-openbsd* | \
         powerpc-*-sysv* | powerpc-*-darwin* | powerpc-*-netbsd* | \
-        powerpc-*-freebsd* | powerpc*-*-aix* | powerpc*-*-os400* )
+        powerpc*-*-freebsd* | powerpc*-*-aix* | powerpc*-*-os400* )
                if test "x$ac_cv_sizeof_void_p" = "x8"; then
                        TARGET=POWERPC64;
                        CPPFLAGS="$CPPFLAGS -D__mono_ppc__ -D__mono_ppc64__"