Re: Include $(CFLAGS-$@) in ALL_CXXFLAGS

2011-08-23 Thread DJ Delorie
Hmm... ok, I'm just a tad paranoid about using the name "CFLAGS" for g++, someone's bound to do the stupid thing eventually.

Re: Include $(CFLAGS-$@) in ALL_CXXFLAGS

2011-08-23 Thread Joseph S. Myers
On Tue, 23 Aug 2011, DJ Delorie wrote: > There are some gcc flags that are not legal g++ flags, though... True, but not relevant to this patch, since every flag currently in $(CFLAGS-$@) is valid for both (and I'm working on a follow-up patch moving more flags into $(CFLAGS-$@), that will be va

Re: Include $(CFLAGS-$@) in ALL_CXXFLAGS

2011-08-23 Thread DJ Delorie
There are some gcc flags that are not legal g++ flags, though...

Include $(CFLAGS-$@) in ALL_CXXFLAGS

2011-08-23 Thread Joseph S. Myers
I noticed that in gcc/Makefile.in, ALL_CFLAGS included $(CFLAGS-$@) but ALL_CXXFLAGS was missing it. I don't see any reason for this difference; this patch makes the two agree more closely. Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to commit? 2011-08-23 Joseph Myers