From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/gretl/files: gretl-1.9.0-ldflags.patch |
Date: | Sun, 22 Aug 2010 08:34:39 |
Message-Id: | 20100822083434.74F6E20051@flycatcher.gentoo.org |
1 | xarthisius 10/08/22 08:34:34 |
2 | |
3 | Added: gretl-1.9.0-ldflags.patch |
4 | Log: |
5 | Respect LDFLAGS wrt bug 333873. Thanks to Diego for report. Remove old. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-mathematics/gretl/files/gretl-1.9.0-ldflags.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/files/gretl-1.9.0-ldflags.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/files/gretl-1.9.0-ldflags.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: gretl-1.9.0-ldflags.patch |
15 | =================================================================== |
16 | Respect LDFLAGS |
17 | |
18 | http://bugs.gentoo.org/333873 |
19 | https://sourceforge.net/tracker/?func=detail&aid=3050710&group_id=36234&atid=416803 |
20 | |
21 | --- lib/Makefile.in |
22 | +++ lib/Makefile.in |
23 | @@ -248,7 +248,7 @@ |
24 | |
25 | $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ) |
26 | $(LDECHO) |
27 | - $(AMP)$(LIBTOOL) --mode=link $(CCV) -o $@ $(LOBJS) $(AUX_LOBJ) \ |
28 | + $(AMP)$(LIBTOOL) --mode=link $(CCV) $(LDFLAGS) -o $@ $(LOBJS) $(AUX_LOBJ) \ |
29 | -rpath $(RPATH) $(LIBS) -version-info $(CURRENT):$(REVISION):$(AGE) |
30 | |
31 | .deps: |
32 | --- plugin/Makefile.in |
33 | +++ plugin/Makefile.in |
34 | @@ -54,10 +54,10 @@ |
35 | CCECHO = @echo " CC $@" |
36 | LDECHO = @echo " LD $@" |
37 | CCV = $(CC) > /dev/null |
38 | - LINK = $(LDECHO); $(LIBTOOL) --mode=link $(CCV) -module -avoid-version -rpath $(plugindir) |
39 | + LINK = $(LDECHO); $(LIBTOOL) --mode=link $(CCV) $(LDFLAGS) -module -avoid-version -rpath $(plugindir) |
40 | else |
41 | CCV = $(CC) |
42 | - LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir) |
43 | + LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -module -avoid-version -rpath $(plugindir) |
44 | endif |
45 | |
46 | GRETLINC = -I$(topsrc)/lib/src |