[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for make on OSX
From: |
Pete French |
Subject: |
Patch for make on OSX |
Date: |
Tue, 15 Jul 2003 20:56:56 +0100 |
Attached patch changes the -tradional-cpp flag to -no-cpp-precomp. This
has been tested on all the versions of gcc shipping with OSX - gcc2,
gcc-3.1 and gcc-3.3 and works under all of them.
can someone commit please ?
cheers,
-bat.
*** target.make.orig Tue Jul 15 20:51:47 2003
--- target.make Tue Jul 15 20:52:06 2003
***************
*** 286,292 ****
# plain C files.
INTERNAL_CFLAGS += -no-cpp-precomp
! INTERNAL_OBJCFLAGS += -traditional-cpp
ifneq ($(arch),)
ARCH_FLAGS = $(foreach a, $(arch), -arch $(a))
INTERNAL_OBJCFLAGS += $(ARCH_FLAGS)
--- 286,292 ----
# plain C files.
INTERNAL_CFLAGS += -no-cpp-precomp
! INTERNAL_OBJCFLAGS += -no-cpp-precomp
ifneq ($(arch),)
ARCH_FLAGS = $(foreach a, $(arch), -arch $(a))
INTERNAL_OBJCFLAGS += $(ARCH_FLAGS)
- Patch for make on OSX,
Pete French <=