Ticket #12003: patch-compile

File patch-compile, 963 bytes (added by darren.bane@…, 17 years ago)

New patch, to go in aqua/emacs-app/files

Line 
1--- nextstep/compile.orig       Wed Dec 27 20:14:25 2006
2+++ nextstep/compile    Mon May 21 00:59:04 2007
3@@ -28,14 +28,13 @@
4 # If you want to try experimental enhanced Ctrl-g support, add to NS_CFG_OPTS:
5 # --enable-cocoa-experimental-ctrl-g
6 # (See bottom of USAGE.txt)
7     NS_CFG_OPTS="--with-ns --without-x --prefix=${BASEDIR}/Resources --exec_prefix=${BASEDIR}/MacOS --libexecdir=${BASEDIR}/MacOS/libexec --with-pop --enable-font-backend --without-freetype"
8     MAKE="make -j3"
9-    export CC=gcc-4.0
10     export MACOSX_DEPLOYMENT_TARGET=10.3
11     export MACOSX_DEPLOYMENT_TARGET_ppc=10.3
12-    export MACOSX_DEPLOYMENT_TARGET_i386=10.4
13+    export MACOSX_DEPLOYMENT_TARGET_i386=10.3
14 #    export CFLAGS="$OPTFLAGS -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk"
15-    export CFLAGS="$OPTFLAGS -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
16+    export CFLAGS="$OPTFLAGS"
17 else
18     source /etc/GNUstep/GNUstep.conf
19     export GNUSTEP_SYSTEM_ROOT