Bug 782155 - Set MACOSX_DEPLOYMENT_TARGET to 10.6 for all architectures and clean up powerpc-apple code. r=ted

This commit is contained in:
Nomis101 2012-08-12 22:50:48 +02:00
parent 943012f622
commit 97d4801b81
2 changed files with 5 additions and 19 deletions

View File

@ -891,7 +891,7 @@ dnl Check for MacOS deployment target version
dnl ========================================================
MOZ_ARG_ENABLE_STRING(macos-target,
[ --enable-macos-target=VER (default=10.5)
[ --enable-macos-target=VER (default=10.6)
Set the minimum MacOS version needed at runtime],
[_MACOSX_DEPLOYMENT_TARGET=$enableval])
@ -903,14 +903,7 @@ case "$target" in
else
dnl No value specified on the command line or in the environment,
dnl use architecture minimum.
case "${target_cpu}" in
i*86)
export MACOSX_DEPLOYMENT_TARGET=10.5
;;
x86_64)
export MACOSX_DEPLOYMENT_TARGET=10.6
;;
esac
export MACOSX_DEPLOYMENT_TARGET=10.6
fi
;;
esac
@ -5779,7 +5772,7 @@ case $target in
i?86-*-mingw*|x86_64-*-mingw*)
MOZ_CRASHREPORTER=1
;;
i?86-apple-darwin*|powerpc-apple-darwin*|x86_64-apple-darwin*)
i?86-apple-darwin*|x86_64-apple-darwin*)
MOZ_CRASHREPORTER=1
;;
i?86-*-linux*|x86_64-*-linux*|arm-*-linux*)

View File

@ -734,7 +734,7 @@ dnl Check for MacOS deployment target version
dnl ========================================================
MOZ_ARG_ENABLE_STRING(macos-target,
[ --enable-macos-target=VER (default=10.5)
[ --enable-macos-target=VER (default=10.6)
Set the minimum MacOS version needed at runtime],
[_MACOSX_DEPLOYMENT_TARGET=$enableval])
@ -747,14 +747,7 @@ case "$target" in
else
dnl No value specified on the command line or in the environment,
dnl use architecture minimum.
case "${target_cpu}" in
i*86)
export MACOSX_DEPLOYMENT_TARGET=10.5
;;
x86_64)
export MACOSX_DEPLOYMENT_TARGET=10.6
;;
esac
export MACOSX_DEPLOYMENT_TARGET=10.6
fi
;;
esac