From eccf65cfd7e16c29632d5df57cb787b9bbc4a145 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Fri, 18 Oct 2002 16:28:37 +0100 Subject: [PATCH] Worked around precompiler and gdb debug info bugs in mac os x 10.2 build. Copied from Perforce Change: 34514 ServerID: perforce.ravenbrook.com --- mps/code/xcppgc.gmk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mps/code/xcppgc.gmk b/mps/code/xcppgc.gmk index 476dcf60f30..a160a700224 100644 --- a/mps/code/xcppgc.gmk +++ b/mps/code/xcppgc.gmk @@ -24,7 +24,9 @@ CC = cc # inline function. # .types: sys/types.h uses 'long long' even under -ansi. CFLAGSCOMPILER := $(subst -Wstrict-prototypes,,$(CFLAGSCOMPILER)) \ - -Wno-unused -Wno-long-long + -Wno-unused -Wno-long-long -no-cpp-precomp +CFLAGSDEBUG := $(subst -g -ggdb3,-g3,$(CFLAGSDEBUG)) +CFLAGSOPT := $(subst -g -ggdb3,-g3,$(CFLAGSOPT)) include comm.gmk