mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-01 03:56:20 +00:00
dnsmasq: respect target's LDFLAGS
Append local flags, don't overwrite. Signed-off-by: Andre Heider <a.heider@gmail.com> SVN-Revision: 41242
This commit is contained in:
parent
6dbafaa15d
commit
b3adc62b62
@ -62,6 +62,7 @@ endef
|
|||||||
Package/dnsmasq-dhcpv6/conffiles = $(Package/dnsmasq/conffiles)
|
Package/dnsmasq-dhcpv6/conffiles = $(Package/dnsmasq/conffiles)
|
||||||
|
|
||||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections
|
TARGET_CFLAGS += -ffunction-sections -fdata-sections
|
||||||
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||||
|
|
||||||
COPTS = $(if $(CONFIG_IPV6),,-DNO_IPV6) -DNO_IPSET -DNO_AUTH
|
COPTS = $(if $(CONFIG_IPV6),,-DNO_IPV6) -DNO_IPSET -DNO_AUTH
|
||||||
|
|
||||||
@ -72,7 +73,7 @@ endif
|
|||||||
MAKE_FLAGS := \
|
MAKE_FLAGS := \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
LDFLAGS="-Wl,--gc-sections" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
COPTS="$(COPTS)" \
|
COPTS="$(COPTS)" \
|
||||||
PREFIX="/usr"
|
PREFIX="/usr"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user