mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +00:00
gcc 4.0 specification on mac build script
This commit is contained in:
parent
73a5f01baf
commit
f8c421025e
1 changed files with 2 additions and 2 deletions
|
@ -116,13 +116,13 @@ NCPU=`sysctl -n hw.ncpu`
|
||||||
if [ -d build/release-release-ppc ]; then
|
if [ -d build/release-release-ppc ]; then
|
||||||
rm -r build/release-darwin-ppc
|
rm -r build/release-darwin-ppc
|
||||||
fi
|
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
|
# intel client and server
|
||||||
if [ -d build/release-darwin-i386 ]; then
|
if [ -d build/release-darwin-i386 ]; then
|
||||||
rm -r build/release-darwin-i386
|
rm -r build/release-darwin-i386
|
||||||
fi
|
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"
|
echo "Creating .app bundle $DESTDIR/$APPBUNDLE"
|
||||||
if [ ! -d $DESTDIR/$APPBUNDLE/Contents/MacOS/$BASEDIR ]; then
|
if [ ! -d $DESTDIR/$APPBUNDLE/Contents/MacOS/$BASEDIR ]; then
|
||||||
|
|
Loading…
Reference in a new issue