diff options
author | Steven Barth <steven@midlink.org> | 2014-06-18 10:04:17 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-06-18 10:04:17 +0000 |
commit | 251afc0c349bba9dc35eaa22300e129416dfdca6 (patch) | |
tree | 10240207ecf8dacfd7e2d6405a3de66a9cee0d3e /package | |
parent | 06e56f40f6e0f838890aa6176f7487d7f643f68c (diff) | |
download | upstream-251afc0c349bba9dc35eaa22300e129416dfdca6.tar.gz upstream-251afc0c349bba9dc35eaa22300e129416dfdca6.tar.bz2 upstream-251afc0c349bba9dc35eaa22300e129416dfdca6.zip |
dnsmasq: respect target's LDFLAGS
Append local flags, don't overwrite.
Signed-off-by: Andre Heider <a.heider@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41242 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/dnsmasq/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index c0d3dc4f48..84736566df 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -62,6 +62,7 @@ endef Package/dnsmasq-dhcpv6/conffiles = $(Package/dnsmasq/conffiles) TARGET_CFLAGS += -ffunction-sections -fdata-sections +TARGET_LDFLAGS += -Wl,--gc-sections COPTS = $(if $(CONFIG_IPV6),,-DNO_IPV6) -DNO_IPSET -DNO_AUTH @@ -72,7 +73,7 @@ endif MAKE_FLAGS := \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="-Wl,--gc-sections" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ COPTS="$(COPTS)" \ PREFIX="/usr" |