X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/a19c8df6f7bc91dc5be0160ed7b7f5a919dd19dd..cefea1a955c897a33b45d8fcd7a5b0dfc6b04474:/package/dnsmasq/Makefile diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile index a2084a616..a23e9ff79 100644 --- a/package/dnsmasq/Makefile +++ b/package/dnsmasq/Makefile @@ -35,7 +35,9 @@ define Package/dnsmasq/conffiles /etc/dnsmasq.conf endef -TARGET_CFLAGS += -ffunction-sections -fdata-sections +TARGET_CFLAGS += \ + -ffunction-sections -fdata-sections \ + $(if $(CONFIG_IPV6),,-DNO_IPV6) MAKE_FLAGS := \ $(TARGET_CONFIGURE_OPTS) \