diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-18 19:00:53 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-18 19:00:53 +0000 |
commit | 899de4adc9f2e5be15da5a85a9bbfb8018abd40d (patch) | |
tree | 3cf44e86a941d2aa88dddb8b6e8e4d4a0f15dcb6 /package | |
parent | a671c720b45e60f2eca1ff59c3f3b8c0725a598c (diff) | |
download | mtk-20170518-899de4adc9f2e5be15da5a85a9bbfb8018abd40d.zip mtk-20170518-899de4adc9f2e5be15da5a85a9bbfb8018abd40d.tar.gz mtk-20170518-899de4adc9f2e5be15da5a85a9bbfb8018abd40d.tar.bz2 |
dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain
SVN-Revision: 29777
Diffstat (limited to 'package')
-rw-r--r-- | package/dnsmasq/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile index a2084a6..a23e9ff 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) \ |