Bug 674647 - Update OS X mozconfig snippets. r=ted.mielczarek.

Pass --target to configure in mozconfig.leopard. It is needed by the gcc
in 10.6. Without this gcc would look for the 10.6 CRT files in the 10.5 SDK
and fail.

Don't include the kernel version in  universal/mozconfig.common for consistency.

--HG--
extra : rebase_source : 0b8beaa6a6eef94700269218311421fa3031cbc5
This commit is contained in:
Rafael Ávila de Espíndola 2011-08-15 14:45:37 -04:00
parent 429357d73b
commit f09e29fb23
2 changed files with 4 additions and 4 deletions

View File

@ -10,4 +10,5 @@ fi
CC="$CC -arch i386"
CXX="$CXX -arch i386"
ac_add_options --target=i386-apple-darwin
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk

View File

@ -38,10 +38,9 @@ mk_add_options MOZ_UNIFY_BDATE=1
mk_add_options MOZ_POSTFLIGHT_ALL+=build/macosx/universal/flight.mk
DARWIN_VERSION=`uname -r`
ac_add_app_options ppc --target=powerpc-apple-darwin$DARWIN_VERSION
ac_add_app_options i386 --target=i386-apple-darwin$DARWIN_VERSION
ac_add_app_options x86_64 --target=x86_64-apple-darwin$DARWIN_VERSION
ac_add_app_options ppc --target=powerpc-apple-darwin
ac_add_app_options i386 --target=i386-apple-darwin
ac_add_app_options x86_64 --target=x86_64-apple-darwin
ac_add_app_options ppc --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk
ac_add_app_options i386 --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk