This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Capture value for LDFLAGS from configure script


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]