X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8fc278904ec5cb04fdac7ebec44154a5fb9f64a5..e9c2d71d9206568fa901119d1ed697915aa539f3:/package/dnsmasq/Makefile diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile index 493797fa2..accce6e40 100644 --- a/package/dnsmasq/Makefile +++ b/package/dnsmasq/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq PKG_VERSION:=2.57 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq @@ -33,12 +33,15 @@ define Package/dnsmasq/conffiles /etc/dnsmasq.conf endef +TARGET_CFLAGS += -ffunction-sections -fdata-sections + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ BINDIR="/usr/sbin" MANDIR="/usr/man" \ AWK="awk" \ + LDFLAGS="-Wl,--gc-sections" \ all endef