aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-06-19 13:30:18 +0000
committerSteven Barth <cyrus@openwrt.org>2015-06-19 13:30:18 +0000
commit539d02eb0b34a56fff53f2f1fc41b23a92b3a604 (patch)
tree0ce2de685e965091f308f01bb25a6d854ba41fea
parent0f5b1a3ecae01bd64378b898246e006e22c9b539 (diff)
downloadupstream-539d02eb0b34a56fff53f2f1fc41b23a92b3a604.tar.gz
upstream-539d02eb0b34a56fff53f2f1fc41b23a92b3a604.tar.bz2
upstream-539d02eb0b34a56fff53f2f1fc41b23a92b3a604.zip
iproute2: honor LDFLAGS
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46064
-rw-r--r--package/network/utils/iproute2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 308ec578e1..7b55f695e8 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -95,7 +95,7 @@ MAKE_FLAGS += \
EXTRA_CCOPTS="$(TARGET_CFLAGS) -I../include -I$(STAGING_DIR)/usr/include/libnl-tiny" \
KERNEL_INCLUDE="$(LINUX_DIR)/include" \
SHARED_LIBS="" \
- LDFLAGS="-Wl,--gc-sections" \
+ LDFLAGS="$(TARGET_LDFLAGS) -Wl,--gc-sections" \
IP_CONFIG_TINY=$(IP_CONFIG_TINY) \
FPIC="$(FPIC)"