diff options
Diffstat (limited to 'sys-apps/attr/files')
-rw-r--r-- | sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch | 25 |
1 files changed, 25 insertions, 0 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 new file mode 100644 index 000000000000..b46efa5e60b4 --- /dev/null +++ b/sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch @@ -0,0 +1,25 @@ +Respect user LDFLAGS + +http://bugs.gentoo.org/126825 + +--- include/buildmacros ++++ include/buildmacros +@@ -9,7 +9,7 @@ + # $(CXXFILES), or $(HFILES) and is used to construct the manifest list + # during the "dist" phase (packaging). + +-LDFLAGS = $(LLDFLAGS) ++LDFLAGS += $(LLDFLAGS) + 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 = @LDFLAGS@ + MALLOCLIB = @malloc_lib@ + + LIBATTR = $(TOPDIR)/libattr/libattr.la |