From: Steven Barth Date: Fri, 19 Jun 2015 13:30:18 +0000 (+0000) Subject: iproute2: honor LDFLAGS X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Flynxis%2Fomap.git;a=commitdiff_plain;h=539d02eb0b34a56fff53f2f1fc41b23a92b3a604 iproute2: honor LDFLAGS Signed-off-by: Steven Barth SVN-Revision: 46064 --- 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)"