pike.git
/
src
/
configure.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/configure.in:1892:
# no longer includes indirect dependencies so we need to add them here. AC_SYS_COMPILER_FLAG(-framework Foundation, framework_Foundation, LDFLAGS) AC_SYS_COMPILER_FLAG(-framework System, framework_System, LDFLAGS) # Needed for MakeDataExecutable which comes from CarbonLib AC_SYS_COMPILER_FLAG(-framework CoreServices, framework_CoreServices, LDFLAGS) # -flat_namespace only needed for linking with libMallocDebug # AC_SYS_COMPILER_FLAG(-flat_namespace, flat_namespace, LDFLAGS)
-
# Take care of warning when linking with GMP libraries
+
# Take care of warning when linking with GMP libraries
(not on 64-bit)
+
if test "x$with_abi" != "x64"; then
AC_SYS_COMPILER_FLAG(-read_only_relocs warning, ro_relocs_warn, LDFLAGS)
-
+
fi
# Tune based on processor family case "`machine`" in i486) # Darwin x86 runs on Intel Core Solo/Duo (based on Pentium M) and newer
-
+
if test "x$with_abi" != "x64"; then
AC_SYS_COMPILER_FLAG(-march=pentium-m, arch_pentium_m, OPTIMIZE) AC_SYS_COMPILER_FLAG(-msse3, opt_sse3, OPTIMIZE) AC_SYS_COMPILER_FLAG(-mfpmath=sse, opt_mfpmath_sse, OPTIMIZE)
-
+
fi
# no-pic required for machine code to work AC_SYS_COMPILER_FLAG(-mdynamic-no-pic, dynamicnopic, OSFLAGS) # Silence warnings about not working on systems older than the base # version of the current machine. We'll convert e.g. 10.5.8 to 1050. AC_SYS_COMPILER_FLAG(-DMAC_OS_X_VERSION_MIN_REQUIRED=`sw_vers -productVersion | tr -d . | cut -c -3`0, osxminversion, CFLAGS) ;; ppc970|ppc7450|ppc7400) # Improve performance on G4 and G5. Note that if the build machine