summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-20 01:34:51 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-20 01:34:51 +0000
commit745f79ced1ebcf0eb2c04d71db80a72a447e702c (patch)
tree2b67d8ac5b7c1fc975655801ee2f1aebf824ba8c /sys-apps/attr
parentInitial Import. Ebuild by Kai Huuhko <kai.huuhko@gmail.com> and Thomas Cort <... (diff)
downloadgentoo-2-745f79ced1ebcf0eb2c04d71db80a72a447e702c.tar.gz
gentoo-2-745f79ced1ebcf0eb2c04d71db80a72a447e702c.tar.bz2
gentoo-2-745f79ced1ebcf0eb2c04d71db80a72a447e702c.zip
also apply LDFLAGS to libs
(Portage version: 2.1_pre9)
Diffstat (limited to 'sys-apps/attr')
-rw-r--r--sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch b/sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch
index b46efa5e60b4..9ed5d29bbf2f 100644
--- a/sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch
+++ b/sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch
@@ -4,12 +4,13 @@ http://bugs.gentoo.org/126825
--- include/buildmacros
+++ include/buildmacros
-@@ -9,7 +9,7 @@
+@@ -9,7 +9,8 @@
# $(CXXFILES), or $(HFILES) and is used to construct the manifest list
# during the "dist" phase (packaging).
-LDFLAGS = $(LLDFLAGS)
-+LDFLAGS += $(LLDFLAGS)
++LDFLAGS += $(LDFLAGS_OPT) $(LLDFLAGS)
++LTLDFLAGS += $(LDFLAGS_OPT)
LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
MAKEOPTS = --no-print-directory
@@ -19,7 +20,7 @@ http://bugs.gentoo.org/126825
DEBUG = @debug_build@
OPTIMIZER = @opt_build@
-+LDFLAGS = @LDFLAGS@
++LDFLAGS_OPT = @LDFLAGS@
MALLOCLIB = @malloc_lib@
LIBATTR = $(TOPDIR)/libattr/libattr.la