aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-18 19:05:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-18 19:05:48 +0000
commit4902e6be60a176c4546b4b43e9cbc79fc06e883a (patch)
treeccb734092b37112a52e4ccb198963526882af9a1 /package/iptables
parent77ef1563a00f1646ed9e3f1d50aebf7b2c8eaa7a (diff)
downloadupstream-4902e6be60a176c4546b4b43e9cbc79fc06e883a.tar.gz
upstream-4902e6be60a176c4546b4b43e9cbc79fc06e883a.tar.bz2
upstream-4902e6be60a176c4546b4b43e9cbc79fc06e883a.zip
[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
Diffstat (limited to 'package/iptables')
-rw-r--r--package/iptables/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 67dedca38f..b60990cabf 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -388,7 +388,7 @@ TARGET_CFLAGS += \
CONFIGURE_ARGS += \
--enable-shared \
--enable-devel \
- --enable-ipv6 \
+ $(if $(CONFIG_IPV6),--enable-ipv6,--disable-ipv6) \
--enable-libipq \
--with-kernel="$(LINUX_DIR)" \
--with-xtlibdir=/usr/lib/iptables