diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2008-10-06 19:31:53 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2008-10-06 19:31:53 +0000 |
commit | 5728dd0339d052e98f7bc28b4ffc2f55431d7e99 (patch) | |
tree | 614a0a121c81cb553887700a567ca44ed06093e4 /dev-libs/librep/files | |
parent | old (diff) | |
download | gentoo-2-5728dd0339d052e98f7bc28b4ffc2f55431d7e99.tar.gz gentoo-2-5728dd0339d052e98f7bc28b4ffc2f55431d7e99.tar.bz2 gentoo-2-5728dd0339d052e98f7bc28b4ffc2f55431d7e99.zip |
Use LDFLAGS during all links
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'dev-libs/librep/files')
-rw-r--r-- | dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch b/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch new file mode 100644 index 000000000000..d0b5b2c0593a --- /dev/null +++ b/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch @@ -0,0 +1,27 @@ +--- librep-0.17/Makedefs.in ++++ librep-0.17/Makedefs.in +@@ -101,7 +101,7 @@ + # Rule for dlopen'able C objects + %.la : %.c + $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $< +- $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo ++ $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $*.lo + + # Build dependancy files from C source files. + .%.d : %.c +--- librep-0.17/src/Makefile.in ++++ librep-0.17/src/Makefile.in +@@ -61,11 +61,11 @@ + -o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS) + + rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + srep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + rep-remote : rep-remote.c |