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

[package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29778 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-01-18 19:05:48 +00:00
parent db7f026006
commit 25e2b28f3c

View File

@ -388,7 +388,7 @@ TARGET_CFLAGS += \
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-devel \ --enable-devel \
--enable-ipv6 \ $(if $(CONFIG_IPV6),--enable-ipv6,--disable-ipv6) \
--enable-libipq \ --enable-libipq \
--with-kernel="$(LINUX_DIR)" \ --with-kernel="$(LINUX_DIR)" \
--with-xtlibdir=/usr/lib/iptables --with-xtlibdir=/usr/lib/iptables