mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Set MACOSX_DEPLOYMENT_TARGET properly per-architecture. Stop incorrectly targeting Mac OS X 10.5 for 64-bit builds by default. b=583318 r=ted a=blocking-final+
This commit is contained in:
parent
852158a953
commit
1092fc2cec
14
configure.in
14
configure.in
@ -1088,10 +1088,20 @@ case "$target" in
|
||||
dnl Use the specified value
|
||||
export MACOSX_DEPLOYMENT_TARGET=$_MACOSX_DEPLOYMENT_TARGET
|
||||
AC_DEFINE_UNQUOTED(__ENVIRONMENT_MAC_OS_X_VERION_MIN_REQUIRED__,$_MACOSX_DEPLOYMENT_TARGET)
|
||||
elif test -z "$MACOSX_DEPLOYMENT_TARGET" ; then
|
||||
else
|
||||
dnl No value specified on the command line or in the environment,
|
||||
dnl use architecture minimum.
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.5
|
||||
case "${target_cpu}" in
|
||||
ppc*)
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.5
|
||||
;;
|
||||
i*86)
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.5
|
||||
;;
|
||||
x86_64)
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.6
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user