RFA: Capture value for LDFLAGS from configure script

Jim Blandy jimb@redhat.com
Tue Aug 20 14:32:00 GMT 2002


I've committed this change.

Jim Blandy <jimb@redhat.com> writes:
> The configure script records any ambient value you set for CFLAGS in
> the Makefile.in for GDB.  Everywhere else in the `src' tree seems to
> do it for LDFLAGS, too, but GDB doesn't.  This means, among other
> things, that you can end up doing your build with different link flags
> than you ran your configure in, which seems wrong.  It also means that
> if you do want custom LDFLAGS, then you need to pass them explicitly
> to both configure and make.
> 
> This fixes this, and makes GDB's makefiles more like the other packages'.
> 
> 2002-07-23  Jim Blandy  <jimb@redhat.com>
> 
> 	* Makefile.in (LDFLAGS): Allow the configure script to establish a
> 	default for this.
> 	* gdbserver/Makefile.in (LDFLAGS): Same.



More information about the Gdb-patches mailing list