summaryrefslogtreecommitdiff
path: root/package
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 /package
parent0f5b1a3ecae01bd64378b898246e006e22c9b539 (diff)
downloadmtk-20170518-539d02eb0b34a56fff53f2f1fc41b23a92b3a604.zip
mtk-20170518-539d02eb0b34a56fff53f2f1fc41b23a92b3a604.tar.gz
mtk-20170518-539d02eb0b34a56fff53f2f1fc41b23a92b3a604.tar.bz2
iproute2: honor LDFLAGS
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46064
Diffstat (limited to 'package')
-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 308ec57..7b55f69 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)"