mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
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:
parent
44e1c0996f
commit
2dd1fa5cf8
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue