From 5b016d136eac3f40b887f5e315833ec2e57de5fa Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 19 Jun 2015 13:30:18 +0000 Subject: iproute2: honor LDFLAGS Signed-off-by: Steven Barth git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46064 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/utils/iproute2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/network/utils/iproute2/Makefile') 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)" -- cgit v1.2.3