1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 21:27:31 +02:00

[package] dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29777 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-01-18 19:00:53 +00:00
parent 59006bd473
commit db7f026006

View File

@ -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) \