diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-18 19:05:48 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-18 19:05:48 +0000 |
commit | 25e2b28f3cf0738d5fa5f23b88edbcfc7faf3b3e (patch) | |
tree | ccb734092b37112a52e4ccb198963526882af9a1 | |
parent | db7f026006337e4d3edf557f8cc3c345b9293a7d (diff) |
[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
-rw-r--r-- | package/iptables/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 67dedca38..b60990cab 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 |