public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* cppflags-iterator.mk
@ 2002-09-22  9:45 Andreas Schwab
  2002-09-22 13:45 ` cppflags-iterator.mk Roland McGrath
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2002-09-22  9:45 UTC (permalink / raw)
  To: libc-hacker

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."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cppflags-iterator.mk
  2002-09-22  9:45 cppflags-iterator.mk Andreas Schwab
@ 2002-09-22 13:45 ` Roland McGrath
  0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2002-09-22 13:45 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-hacker

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

Oops!  That was my fault.  Thanks, I put the fix in.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-22 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-22  9:45 cppflags-iterator.mk Andreas Schwab
2002-09-22 13:45 ` cppflags-iterator.mk Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).