This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Save LDFLAGS and CPPFLAGS at the top level
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Fri, 24 Oct 2008 17:56:37 -0400
- Subject: Re: RFA: Save LDFLAGS and CPPFLAGS at the top level
- References: <20081021201533.GA17491@caradoc.them.org> <jed4hpoelk.fsf@sykes.suse.de>
On Fri, Oct 24, 2008 at 11:41:43PM +0200, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> writes:
>
> > @@ -172,6 +174,7 @@ HOST_EXPORTS = \
> > ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
> > CFLAGS="$(CFLAGS)"; export CFLAGS; \
> > CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
> > + CPPFLAGS="$(CFLAGS)"; export CPPFLAGS; \
> ^^^^^^
> s/CFLAGS/CPPFLAGS/?
Gah. Obvious fix being checked in now.
--
Daniel Jacobowitz
CodeSourcery
2008-10-24 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
* Makefile.in: Regenerated.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 141350)
+++ Makefile.in (working copy)
@@ -174,7 +174,7 @@ HOST_EXPORTS = \
ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
CFLAGS="$(CFLAGS)"; export CFLAGS; \
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
- CPPFLAGS="$(CFLAGS)"; export CPPFLAGS; \
+ CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \
CXX="$(CXX)"; export CXX; \
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
AR="$(AR)"; export AR; \
Index: Makefile.tpl
===================================================================
--- Makefile.tpl (revision 141350)
+++ Makefile.tpl (working copy)
@@ -177,7 +177,7 @@ HOST_EXPORTS = \
ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
CFLAGS="$(CFLAGS)"; export CFLAGS; \
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
- CPPFLAGS="$(CFLAGS)"; export CPPFLAGS; \
+ CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \
CXX="$(CXX)"; export CXX; \
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
AR="$(AR)"; export AR; \