Gentoo Archives: gentoo-commits

From: "Harald van Dijk (truedfx)" <truedfx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/librep/files: librep-0.17_p20070101-ldflags.patch
Date: Mon, 06 Oct 2008 19:32:07
Message-Id: E1KmvoA-0007x4-6M@stork.gentoo.org
1 truedfx 08/10/06 19:31:54
2
3 Added: librep-0.17_p20070101-ldflags.patch
4 Log:
5 Use LDFLAGS during all links
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
7
8 Revision Changes Path
9 1.1 dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch?rev=1.1&content-type=text/plain
13
14 Index: librep-0.17_p20070101-ldflags.patch
15 ===================================================================
16 --- librep-0.17/Makedefs.in
17 +++ librep-0.17/Makedefs.in
18 @@ -101,7 +101,7 @@
19 # Rule for dlopen'able C objects
20 %.la : %.c
21 $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
22 - $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo
23 + $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $*.lo
24
25 # Build dependancy files from C source files.
26 .%.d : %.c
27 --- librep-0.17/src/Makefile.in
28 +++ librep-0.17/src/Makefile.in
29 @@ -61,11 +61,11 @@
30 -o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS)
31
32 rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
33 - $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
34 + $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \
35 $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS)
36
37 srep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
38 - $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
39 + $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \
40 $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS)
41
42 rep-remote : rep-remote.c