diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-09-25 14:10:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-09-25 14:10:42 +0000 |
commit | 77a33894a1b819cb707438c2c84a8fb1926a578b (patch) | |
tree | 89b425b6030bc720e5e774b34c12a4ece7940f2b /package/iptables/Makefile | |
parent | 0fb8652dd28c833146068a56c78b959fb39d0b54 (diff) | |
download | upstream-77a33894a1b819cb707438c2c84a8fb1926a578b.tar.gz upstream-77a33894a1b819cb707438c2c84a8fb1926a578b.tar.bz2 upstream-77a33894a1b819cb707438c2c84a8fb1926a578b.zip |
iptables: fix build error with linux 2.6.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17721 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r-- | package/iptables/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 818e686d47..b8164458ee 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -247,7 +247,11 @@ define Package/libxtables endef -TARGET_CPPFLAGS := -I$(PKG_BUILD_DIR)/include $(TARGET_CPPFLAGS) +TARGET_CPPFLAGS := \ + -I$(PKG_BUILD_DIR)/include \ + -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include \ + $(TARGET_CPPFLAGS) + TARGET_CFLAGS += $(FPIC) CONFIGURE_ARGS += \ --enable-shared \ |