diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap index 85eb400689fe320e92b6b6ccbcac000b19d21980..8482e9849118a097caf5e1ed7382e376c9074df2 100755 --- a/extras/contrib/bootstrap +++ b/extras/contrib/bootstrap @@ -133,10 +133,10 @@ case $HOST in HAVE_DARWIN_9=1 CFLAGS_TUNING=" -arch ppc -mtune=G4" EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" - EXTRA_LDFLAGS=" -arch ppc -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}" + EXTRA_LDFLAGS=" -arch ppc -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET} -Wl,-syslibroot,\${MACOSX_SDK}" CC="/Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2" CXX="/Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2" - LD="ld -arch ppc -syslibroot \${MACOSX_SDK}" + LD="ld -arch ppc -syslibroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" echo "PATH = /bin:/usr/bin:/usr/local/bin:" >> config.mak cat src/Distributions/darwin.mak >> distro.mak if test -e /Developer/SDKs; then @@ -161,7 +161,7 @@ case $HOST in echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.5.sdk" >> config.mak CFLAGS_TUNING=" -march=prescott -mtune=generic -arch i386" EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" - EXTRA_LDFLAGS=" -arch i386 -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}" + EXTRA_LDFLAGS=" -arch i386 -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" CC="/Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2" CXX="/Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2" echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak @@ -188,7 +188,7 @@ case $HOST in CFLAGS_TUNING=" -march=prescott -mtune=core2" fi EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" - EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}" + EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak CC="gcc" CXX="g++"