Browse Source

fix iptables cflags to include architecture specific asm includes

SVN-Revision: 21045
Florian Fainelli 15 years ago
parent
commit
d2af27b13d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/iptables/Makefile

+ 4 - 0
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 \