cppflags-iterator.mk

Andreas Schwab schwab@suse.de
Sun Sep 22 09:45:00 GMT 2002


This fixes cppflags-iterator.mk to not overwrite previous settings of
CPPFLAGS-foo.c, like those in math/Makefile.

2002-09-22  Andreas Schwab  <schwab@suse.de>

	* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.

--- cppflags-iterator.mk.~1.4.~	2002-09-12 10:38:00.000000000 +0200
+++ cppflags-iterator.mk	2002-09-22 18:39:25.000000000 +0200
@@ -4,4 +4,4 @@
 cpp-src := $(firstword $(cpp-srcs-left))
 cpp-srcs-left := $(filter-out $(cpp-src),$(cpp-srcs-left))
 
-CPPFLAGS-$(cpp-src) = -DNOT_IN_libc -DIS_IN_$(lib)
+CPPFLAGS-$(cpp-src) += -DNOT_IN_libc -DIS_IN_$(lib)

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-hacker mailing list