OSX 10.4u SDK needs gcc/g++ 4.0

This commit is contained in:
Dave Murphy 2012-04-13 20:21:37 +01:00
parent 053cbe511d
commit e6d0b051dc

View File

@ -16,6 +16,14 @@ if [ 1 -eq 1 ] ; then
exit 1
fi
echo "Please note, these scripts are provided as a courtesy, toolchains built with them"
echo "are for personal use only and may not be distributed by entities other than devkitPro."
echo "See http://devkitpro.org/wiki/Trademarks"
echo
echo "Patches and improvements are of course welcome, please send these to the patch tracker"
echo "https://sourceforge.net/tracker/?group_id=114505&atid=668553"
echo
LIBOGC_VER=1.8.10
LIBGBA_VER=20090222
LIBNDS_VER=1.5.5
@ -158,6 +166,8 @@ 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
;;
MINGW32* )
cflags="-D__USE_MINGW_ACCESS"