This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Capture value for LDFLAGS from configure script
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 20 Aug 2002 16:21:53 -0500
- Subject: Re: RFA: Capture value for LDFLAGS from configure script
- References: <20020724031426.CF5075EA11@zwingli.cygnus.com>
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.