diff options
author | Zachary Slater <zachary@ioquake.org> | 2012-05-08 20:27:24 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 20:29:43 +0000 |
commit | f58d31736ace4fdd16c440b56f6d7bb9f70e4be3 (patch) | |
tree | 13c35d71a56f39075952d4d1c5abae2f3b5a667a | |
parent | 4b120321f56e6943e762fd47d4735ba496a0c23a (diff) |
gcc 4.0 specification on mac build script
-rwxr-xr-x | make-macosx-ub.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh index cf576cc7..973fda86 100755 --- a/make-macosx-ub.sh +++ b/make-macosx-ub.sh @@ -107,13 +107,13 @@ NCPU=`sysctl -n hw.ncpu` if [ -d build/release-release-ppc ]; then rm -r build/release-darwin-ppc fi -(ARCH=ppc CFLAGS=$PPC_CFLAGS LDFLAGS=$PPC_LDFLAGS make -j$NCPU) || exit 1; +(ARCH=ppc CC=gcc-4.0 CFLAGS=$PPC_CFLAGS LDFLAGS=$PPC_LDFLAGS make -j$NCPU) || exit 1; # intel client and server if [ -d build/release-darwin-x86 ]; then rm -r build/release-darwin-x86 fi -(ARCH=x86 CFLAGS=$X86_CFLAGS LDFLAGS=$X86_LDFLAGS make -j$NCPU) || exit 1; +(ARCH=x86 CC=gcc-4.0 CFLAGS=$X86_CFLAGS LDFLAGS=$X86_LDFLAGS make -j$NCPU) || exit 1; echo "Creating .app bundle $DESTDIR/$APPBUNDLE" if [ ! -d $DESTDIR/$APPBUNDLE/Contents/MacOS/$BASEDIR ]; then |