Pass LDFLAGS when building libgcc

Submitted by Ludovic =?iso-8859-1?Q?Court=E8s?= on Feb. 26, 2013, 7:28 p.m.

Details

Message ID 87sj4i3mds.fsf@gnu.org
State New
Headers show

Commit Message

Ludovic =?iso-8859-1?Q?Court=E8s?= Feb. 26, 2013, 7:28 p.m.
Hello,

In FLAGS_TO_PASS, libgcc/Makefile.in refers to $(LDFLAGS), but that
variable is never set, so empty in practice.  I believe This patches
fixes that.

Thanks,
Ludo’.

Comments

Ian Taylor Feb. 26, 2013, 9:10 p.m.
On Tue, Feb 26, 2013 at 11:28 AM, Ludovic Courtès <ludo@gnu.org> wrote:
>
> In FLAGS_TO_PASS, libgcc/Makefile.in refers to $(LDFLAGS), but that
> variable is never set, so empty in practice.  I believe This patches
> fixes that.

This is OK with a ChangeLog entry.

Thanks.

Ian

Patch hide | download patch | download mbox

--- gcc-4.7.2/libgcc/Makefile.in~	2012-09-05 14:19:47.000000000 +0200
+++ gcc-4.7.2/libgcc/Makefile.in	2013-02-26 20:26:15.000000000 +0100
@@ -72,6 +72,7 @@  AR_FLAGS = rc
 
 CC = @CC@
 CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
 RANLIB = @RANLIB@
 LN_S = @LN_S@