[toplevel] PR/18222 Fix definition of target's CPPFLAGS

Kelley Cook kcook@gcc.gnu.org
Thu Jan 13 18:46:00 GMT 2005


CPPFLAGS should only have items that pertain to the preprocessor.

This patch

http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01736.html 

changed it to have all of CFLAGS, which was causing bootstrap problems 
as CPPFLAGS is precious according to autoconf and was getting redefined.

This adds in a new overrideable CPPFLAGS_FOR_TARGET, which will 
hopefully fulfill Sean's purpose for his original patch.

Although I don't have an Alpha to test on, I think this should eliminate 
the bootstrap problem for PR/18222.  Regardless the current definition 
of the target's CPPFLAGS is clearly incorrect.

Bootstrapped i686-pc-cygwin

OK to install?



More information about the Gcc-patches mailing list