This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] Pass LDFLAGS when building libgcc


Ian Lance Taylor <iant@google.com> skribis:

> 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.

libgcc/ChangeLog:

2013-02-26  Ludovic CourtÃs  <ludo@gnu.org>

	* Makefile.in (LDFLAGS): New variable.

--- 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@

Thanks,
Ludoâ.

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