This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Substitute LDFLAGS in toplevel makefile
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Tue, 30 Jan 2007 17:34:40 +0100
- Subject: [PATCH] Substitute LDFLAGS in toplevel makefile
Is there any reason not to substitute LDFLAGS in the toplevel makefile?
It is already a standard autoconf substitution.
Andreas.
2007-01-30 Andreas Schwab <schwab@suse.de>
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.
Index: Makefile.tpl
===================================================================
--- Makefile.tpl (revision 121338)
+++ Makefile.tpl (working copy)
@@ -303,7 +303,7 @@ GNATBIND = @GNATBIND@
GNATMAKE = @GNATMAKE@
CFLAGS = @CFLAGS@
-LDFLAGS =
+LDFLAGS = @LDFLAGS@
LIBCFLAGS = $(CFLAGS)
CXXFLAGS = @CXXFLAGS@
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."