Commit e4fa3e2f authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: remove non-working compilation support for OS X Tiger

parent ed0d8303
...@@ -109,38 +109,20 @@ esac ...@@ -109,38 +109,20 @@ esac
case $HOST in case $HOST in
ppc-darwin) ppc-darwin)
# Mac OS X < 10.4 # Mac OS X < 10.4
echo "Your version of Mac OS X is too old!" >&2 echo "Your version of Mac OS X is too old!" >&2
echo "Compiling VLC requires 10.4.x or later" >&2 echo "Compiling VLC requires 10.5.x or later" >&2
exit 1 exit 1
;; ;;
powerpc-apple-darwin8) powerpc-apple-darwin8)
# Mac OS X 10.4 or 10.5 with Xcode 2.5 echo "Your version of Mac OS X is too old!" >&2
# Makefile cross compiling is only supported with gcc-4.0 echo "Compiling and running VLC requires 10.5.x or later" >&2
# ENVP defines the oldest environment on which the program will be able to run exit 1
SDK_TARGET=10.4
echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak
CFLAGS_TUNING=" -arch ppc -mtune=G4"
EXTRA_CFLAGS=" -D\${ENVP} -mmacosx-version-min=\${SDK_TARGET}"
CC="gcc -isysroot \${MACOSX_SDK}"
CXX="g++ -isysroot \${MACOSX_SDK}"
LD="ld -arch ppc -syslibroot \${MACOSX_SDK}"
echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak
cat src/Distributions/darwin.mak >> distro.mak
;; ;;
i686-apple-darwin8) i686-apple-darwin8)
SDK_TARGET=10.4 echo "Your version of Mac OS X is too old!" >&2
echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak echo "Compiling and running VLC requires 10.5.x or later" >&2
echo "HAVE_DARWIN_OS_ON_INTEL = 1" >> config.mak exit 1
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} -mmacosx-version-min=\${SDK_TARGET}"
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
;; ;;
powerpc-apple-darwin9) powerpc-apple-darwin9)
# Mac OS X 10.5 with Xcode 3, specific rules apply # Mac OS X 10.5 with Xcode 3, specific rules apply
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment