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 --- /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