* disabled SDK usage on Darwin 9 for now
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 3 Mar 2007 13:55:33 +0000 (13:55 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 3 Mar 2007 13:55:33 +0000 (13:55 +0000)
extras/contrib/bootstrap

index cfe9765..26e9e47 100755 (executable)
@@ -77,7 +77,6 @@ case $HOST in
            SDK_TARGET=10.3
            echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
            echo "HAVE_DARWIN_OS = 1" >> config.mak
-           echo "HAVE_DARWIN_OS_ON_INTEL = 0" >> config.mak
            echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
            echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk" >> config.mak
            CFLAGS_TUNING=" -arch ppc -mtune=G4"
@@ -90,12 +89,11 @@ case $HOST in
            SDK_TARGET=10.3
            echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
            echo "HAVE_DARWIN_OS = 1" >> config.mak
-           echo "HAVE_DARWIN_OS_ON_INTEL = 0" >> config.mak
-           echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
-           echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk" >> config.mak
+#          echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
+#          echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk" >> config.mak
            CFLAGS_TUNING=" -arch ppc -mtune=G4"
-           EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
-           EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
+#          EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
+#          EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
            echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak
         cat src/Distributions/darwin.mak >> distro.mak
         ;;
@@ -117,11 +115,11 @@ case $HOST in
            echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
            echo "HAVE_DARWIN_OS = 1" >> config.mak
            echo "HAVE_DARWIN_OS_ON_INTEL = 1" >> config.mak
-           echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
-           echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak
+#          echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
+#          echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak
            CFLAGS_TUNING=" -march=pentium-m -mtune=prescott"
-           EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
-           EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
+#          EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
+#          EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
            echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak
         cat src/Distributions/darwin.mak >> distro.mak
         ;;