On darwin/apple-apple-apple, use -no-cpp-precomp rather than

-traditional-cpp which is no longer there in newer GCCs


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@17232 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-07-16 08:43:06 +00:00
parent 3c80f2dd8f
commit 570c76d5ab
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Wed Jul 16 09:46:16 2003 Nicola Pero <n.pero@mi.flashnet.it>
* target.make (INTERNAL_OBJCFLAGS): On darwin with library-combo
apple-apple-apple, use -no-cpp-precomp rather than
-traditional-cpp.
Wed Jul 9 16:28:14 2003 Nicola Pero <n.pero@mi.flashnet.it>
* configure.ac: Made flattened directory structure the default.

View file

@ -286,7 +286,8 @@ ifeq ($(FOUNDATION_LIB), apple)
# plain C files.
INTERNAL_CFLAGS += -no-cpp-precomp
INTERNAL_OBJCFLAGS += -traditional-cpp
# TODO - Check if we can do without -no-cpp-precomp for Objective-C.
INTERNAL_OBJCFLAGS += -no-cpp-precomp
ifneq ($(arch),)
ARCH_FLAGS = $(foreach a, $(arch), -arch $(a))
INTERNAL_OBJCFLAGS += $(ARCH_FLAGS)