summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-20 01:41:55 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-20 01:41:55 +0000
commitc7920b73ff6e4da42cb4b08d02a838622e9564b8 (patch)
tree2733622684febc7ae53b599cbd67fc2db6c086fb /sys-apps/dmapi/files
parentRespect user LDFLAGS #126825 by Diego Pettenò. (diff)
downloadhistorical-c7920b73ff6e4da42cb4b08d02a838622e9564b8.tar.gz
historical-c7920b73ff6e4da42cb4b08d02a838622e9564b8.tar.bz2
historical-c7920b73ff6e4da42cb4b08d02a838622e9564b8.zip
Respect user LDFLAGS #126825 by Diego Pettenò.
Package-Manager: portage-2.1_pre9
Diffstat (limited to 'sys-apps/dmapi/files')
-rw-r--r--sys-apps/dmapi/files/dmapi-2.2.3-LDFLAGS.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-apps/dmapi/files/dmapi-2.2.3-LDFLAGS.patch b/sys-apps/dmapi/files/dmapi-2.2.3-LDFLAGS.patch
new file mode 100644
index 000000000000..9ed5d29bbf2f
--- /dev/null
+++ b/sys-apps/dmapi/files/dmapi-2.2.3-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