This is the mail archive of the
mailing list for the GCC project.
[toplevel] PR/18222 Fix definition of target's CPPFLAGS
- From: Kelley Cook <kcook at gcc dot gnu dot org>
- To: DJ Delorie <dj at redhat dot com>, Sean McNeil <sean at blue dot mcneil dot com>
- Cc: Nathanael Nerode <neroden at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Paolo Bonzini <bonzini at gnu dot org>
- Date: Thu, 13 Jan 2005 13:45:21 -0500
- Subject: [toplevel] PR/18222 Fix definition of target's CPPFLAGS
- Hop-count: 1
CPPFLAGS should only have items that pertain to the preprocessor.
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.
OK to install?