summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/attr/files')
-rw-r--r--sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch b/sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch
new file mode 100644
index 000000000000..f5f1ebb74f12
--- /dev/null
+++ b/sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch
@@ -0,0 +1,14 @@
+make sure the library link respects LDFLAGS
+
+http://oss.sgi.com/bugzilla/show_bug.cgi?id=642
+
+--- include/buildmacros
++++ include/buildmacros
+@@ -10,6 +10,7 @@
+ # during the "dist" phase (packaging).
+
+ LDFLAGS += $(LOADERFLAGS) $(LLDFLAGS)
++LTLDFLAGS += $(LOADERFLAGS)
+ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
+
+ MAKEOPTS = --no-print-directory