diff options
author | Ralph Giles <ralph.giles@artifex.com> | 2004-11-05 17:03:17 +0000 |
---|---|---|
committer | Ralph Giles <ralph.giles@artifex.com> | 2004-11-05 17:03:17 +0000 |
commit | 0ddbd20c57aef788a8526762e5723ac1d1752a6e (patch) | |
tree | 1d516b04eb5ecde0aaf9ef48e874b4533be96719 /gs | |
parent | d02a51108efdd882aff84115b2f8a8cbf8221d29 (diff) |
Update the MacOS X platform-specific makefile. Remove -traditional-cpp.
This was added to work around bugs in earlier releases of Apple's gcc,
but it is not necessary with more recent releases, and conflicts with
newer cpp features used by more recent Ghostscript code. Partial fix
for bug 687787.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5488 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs')
-rw-r--r-- | gs/src/macosx.mak | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gs/src/macosx.mak b/gs/src/macosx.mak index 9096deff5..19cc0f181 100644 --- a/gs/src/macosx.mak +++ b/gs/src/macosx.mak @@ -204,7 +204,7 @@ RANLIB=ranlib # Define the name of the C compiler. -CC=gcc +CC=cc # Define the name of the linker for the final link step. # Normally this is the same as the C compiler. @@ -216,12 +216,13 @@ CCLD=$(CC) # the 2.7.0-2.7.2 optimizer bug, either "-Dconst=" or # "-Wcast-qual -Wwrite-strings" is automatically included. -GCFLAGS=-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common +GCFLAGS=-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes \ + -fno-builtin -fno-common -DHAVE_STDINT_H # Define the added flags for standard, debugging, profiling # and shared object builds. -CFLAGS_STANDARD=-O2 -traditional-cpp +CFLAGS_STANDARD= CFLAGS_DEBUG=-g -O CFLAGS_PROFILE=-pg -O2 CFLAGS_SO=-dynamic |