summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-20 01:36:08 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-20 01:36:08 +0000
commite9225422409cd863bbaa7ab904eb5d120cb7242d (patch)
tree79ef1046145341f76ae88d2c6355fa63cd76fafc /sys-apps/acl/files
parentalso apply LDFLAGS to libs (diff)
downloadgentoo-2-e9225422409cd863bbaa7ab904eb5d120cb7242d.tar.gz
gentoo-2-e9225422409cd863bbaa7ab904eb5d120cb7242d.tar.bz2
gentoo-2-e9225422409cd863bbaa7ab904eb5d120cb7242d.zip
Respect user LDFLAGS #126825 by Diego Pettenò.
(Portage version: 2.1_pre9)
Diffstat (limited to 'sys-apps/acl/files')
-rw-r--r--sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch b/sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch
new file mode 100644
index 000000000000..9ed5d29bbf2f
--- /dev/null
+++ b/sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch
@@ -0,0 +1,26 @@
+Respect user LDFLAGS
+
+http://bugs.gentoo.org/126825
+
+--- include/buildmacros
++++ include/buildmacros
+@@ -9,7 +9,8 @@
+ # $(CXXFILES), or $(HFILES) and is used to construct the manifest list
+ # during the "dist" phase (packaging).
+
+-LDFLAGS = $(LLDFLAGS)
++LDFLAGS += $(LDFLAGS_OPT) $(LLDFLAGS)
++LTLDFLAGS += $(LDFLAGS_OPT)
+ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
+
+ MAKEOPTS = --no-print-directory
+--- include/builddefs.in
++++ include/builddefs.in
+@@ -9,6 +9,7 @@
+
+ DEBUG = @debug_build@
+ OPTIMIZER = @opt_build@
++LDFLAGS_OPT = @LDFLAGS@
+ MALLOCLIB = @malloc_lib@
+
+ LIBATTR = $(TOPDIR)/libattr/libattr.la