iproute2: honor LDFLAGS

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46064
This commit is contained in:
Steven Barth 2015-06-19 13:30:18 +00:00
parent 0f5b1a3eca
commit 539d02eb0b

View file

@ -95,7 +95,7 @@ MAKE_FLAGS += \
EXTRA_CCOPTS="$(TARGET_CFLAGS) -I../include -I$(STAGING_DIR)/usr/include/libnl-tiny" \ EXTRA_CCOPTS="$(TARGET_CFLAGS) -I../include -I$(STAGING_DIR)/usr/include/libnl-tiny" \
KERNEL_INCLUDE="$(LINUX_DIR)/include" \ KERNEL_INCLUDE="$(LINUX_DIR)/include" \
SHARED_LIBS="" \ SHARED_LIBS="" \
LDFLAGS="-Wl,--gc-sections" \ LDFLAGS="$(TARGET_LDFLAGS) -Wl,--gc-sections" \
IP_CONFIG_TINY=$(IP_CONFIG_TINY) \ IP_CONFIG_TINY=$(IP_CONFIG_TINY) \
FPIC="$(FPIC)" FPIC="$(FPIC)"