Basilisk II: Skip test for -no-pie flag in macOS

This commit is contained in:
robxnano 2022-10-11 15:55:57 +01:00
parent cb67534d28
commit 0118e99764

View File

@ -1123,6 +1123,7 @@ AC_TRANSLATE_DEFINE(HAVE_MMAP_VM, "$have_mmap_vm",
fi dnl HAVE_MMAP_VM fi dnl HAVE_MMAP_VM
if [[ "$OS_TYPE" != "darwin" ]]; then
dnl Check if we can disable position-independent code dnl Check if we can disable position-independent code
AC_CACHE_CHECK([whether the compiler supports -no-pie], AC_CACHE_CHECK([whether the compiler supports -no-pie],
ac_cv_no_pie, [ ac_cv_no_pie, [
@ -1136,6 +1137,7 @@ AC_CACHE_CHECK([whether the compiler supports -no-pie],
LDFLAGS="$saved_LDFLAGS" LDFLAGS="$saved_LDFLAGS"
fi fi
]) ])
fi
dnl Check if we can modify the __PAGEZERO segment for use as Low Memory dnl Check if we can modify the __PAGEZERO segment for use as Low Memory
AC_CACHE_CHECK([whether __PAGEZERO can be Low Memory area 0x0000-0x2000], AC_CACHE_CHECK([whether __PAGEZERO can be Low Memory area 0x0000-0x2000],