Fixed compiling C files on darwin with apple library-combo

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@15578 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-01-10 04:52:15 +00:00
parent 44e1c0996f
commit 2dd1fa5cf8
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Fri Jan 10 05:48:06 GMT 2003 Nicola Pero <n.pero@mi.flashnet.it>
* target.make (INTERNAL_CFLAGS): On darwin, apple foundation, add
-no-cpp-precomp.
2003-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/README.MinGW: Updated for current cod, fixing a few

View file

@ -277,6 +277,10 @@ HAVE_SHARED_LIBS = yes
SHARED_LIBEXT = .dylib
ifeq ($(FOUNDATION_LIB), apple)
# Not sure why, but without -no-cpp-precomp, it doesn't compile
# plain C files.
INTERNAL_CFLAGS += -no-cpp-precomp
INTERNAL_OBJCFLAGS += -traditional-cpp
ifneq ($(arch),)
ARCH_FLAGS = $(foreach a, $(arch), -arch $(a))