Author: cyrus Date: 2014-06-18 12:04:17 +0200 (Wed, 18 Jun 2014) New Revision: 41242
Modified: trunk/package/network/services/dnsmasq/Makefile Log: dnsmasq: respect target's LDFLAGS Append local flags, don't overwrite. Signed-off-by: Andre Heider <[email protected]> Modified: trunk/package/network/services/dnsmasq/Makefile =================================================================== --- trunk/package/network/services/dnsmasq/Makefile 2014-06-18 10:04:02 UTC (rev 41241) +++ trunk/package/network/services/dnsmasq/Makefile 2014-06-18 10:04:17 UTC (rev 41242) @@ -62,6 +62,7 @@ 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 @@ MAKE_FLAGS := \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="-Wl,--gc-sections" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ COPTS="$(COPTS)" \ PREFIX="/usr" _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
