blob: b46efa5e60b40eb5027edc4f485f628111dd7bb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|