move OSX to 10.5+ and single arch

This commit is contained in:
Dave Murphy
2016-10-11 16:27:10 +01:00
committed by Dave Murphy
parent be6c50e32e
commit b1e0b0abd8
2 changed files with 4 additions and 8 deletions

View File

@@ -159,10 +159,8 @@ PLATFORM=`uname -s`
case $PLATFORM in
Darwin )
cflags="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
ldflags="-mmacosx-version-min=10.4 -arch i386 -arch ppc -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
export CC=gcc-4.0
export CXX=g++-4.0
cflags="-mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/usr/local/include"
ldflags="-mmacosx-version-min=10.5 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -L/usr/local/lib"
;;
MINGW32* )
cflags="-D__USE_MINGW_ACCESS"