Commit d4f0ff77 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* enable SDK building for Mac PPC contrib.

parent 386b36fe
......@@ -63,7 +63,7 @@ case $HOST in
EXTRA_CPPFLAGS=" -no-cpp-precomp"
echo "PATH = /bin:/usr/bin" >> config.mak
;;
powerpc-apple-darwin8|i686-apple-darwin8)
powerpc-apple-darwin8)
# Mac OS X 10.4
# Makefile cross compiling is only supported with gcc-4.0
# ENVP defines the oldest environment on which the program will be able to run
......@@ -73,8 +73,18 @@ case $HOST in
echo "HAVE_DARWIN_OS = 1" >> config.mak
echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk" >> config.mak
# 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
;;
i686-apple-darwin8)
SDK_TARGET=10.3
echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
echo "HAVE_DARWIN_OS = 1" >> config.mak
echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk" >> config.mak
#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
;;
i586-pc-beos)
......
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