[PATCH] Substitute LDFLAGS in toplevel makefile

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Substitute LDFLAGS in toplevel makefile

Andreas Schwab
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  <[hidden email]>

        * 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, [hidden email]
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."
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Substitute LDFLAGS in toplevel makefile

Paolo Bonzini
Andreas Schwab wrote:
> Is there any reason not to substitute LDFLAGS in the toplevel makefile?
> It is already a standard autoconf substitution.

Ok if nobody objects in 24 hours.

Paolo