summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-20 16:18:03 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-04-20 16:18:03 +0000
commitd2af27b13d4824424c71052a363f230e63654495 (patch)
tree08d63879dc9c56c4b73e97c7610c20dbebff31ab
parentb131ab79145e3de8a5302e46035107babc0885ba (diff)
downloadmtk-20170518-d2af27b13d4824424c71052a363f230e63654495.zip
mtk-20170518-d2af27b13d4824424c71052a363f230e63654495.tar.gz
mtk-20170518-d2af27b13d4824424c71052a363f230e63654495.tar.bz2
fix iptables cflags to include architecture specific asm includes
SVN-Revision: 21045
-rw-r--r--package/iptables/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index e97cfbb..f683331 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -254,6 +254,10 @@ TARGET_CPPFLAGS := \
-I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include \
$(TARGET_CPPFLAGS)
+TARGET_CFLAGS += \
+ -I$(PKG_BUILD_DIR)/include \
+ -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include
+
CONFIGURE_ARGS += \
--enable-shared \
--enable-devel \