From: cyrus Date: Fri, 19 Jun 2015 13:30:18 +0000 (+0000) Subject: iproute2: honor LDFLAGS X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=6517f2374516e64e33e14d0deb7b19afdf1ccee6;hp=0fb383b993e29f003479b105a115b6b9cd7f2222;ds=sidebyside iproute2: honor LDFLAGS Signed-off-by: Steven Barth git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46064 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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)"