This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Save LDFLAGS and CPPFLAGS at the top level
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Tue, 21 Oct 2008 23:52:33 -0400
- Subject: Re: RFA: Save LDFLAGS and CPPFLAGS at the top level
- References: <20081021201533.GA17491@caradoc.them.org>
Daniel Jacobowitz wrote:
> This patch should make all of {CPP,LD}FLAGS{,_FOR_TARGET,_FOR_BUILD}
> work from the top level. The GDB simulator directories don't always
> listen to them (partially tested patch posted), and I'm sure there are
> other omissions, but this fixes what I could find by inspection.
>
> Tested by building an arm-none-eabi simulator for both current Linux
> host and cross-built Windows host, with CPPFLAGS/LDFLAGS set before
> running configure, and checking every command in the log. Without
> this patch those CPPFLAGS and LDFLAGS are not used, with it they are.
>
> OK?
Yes, thanks.
Paolo