From f8c421025e550607101b1f682a7e320e8f094ae4 Mon Sep 17 00:00:00 2001 From: Zachary Slater Date: Tue, 8 May 2012 20:27:24 +0000 Subject: [PATCH] gcc 4.0 specification on mac build script --- make-macosx-ub.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh index 58974c82..17844c8c 100755 --- a/make-macosx-ub.sh +++ b/make-macosx-ub.sh @@ -116,13 +116,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-i386 ]; then rm -r build/release-darwin-i386 fi -(ARCH=i386 CFLAGS=$X86_CFLAGS LDFLAGS=$X86_LDFLAGS make -j$NCPU) || exit 1; +(ARCH=i386 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