strace: add kernel headers include to host cflags to fix build on non-linux systems
authorFelix Fietkau <nbd@openwrt.org>
Sun, 19 Jul 2015 14:59:16 +0000 (14:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 19 Jul 2015 14:59:16 +0000 (14:59 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46423

package/devel/strace/Makefile

index b9ed201bbaf030eed4ee181f4ff09efbc1897c05..76c140aa572f3c1e4f9cc0cc591c321a5ef54b03 100644 (file)
@@ -27,6 +27,8 @@ PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
+HOST_CFLAGS += -I$(LINUX_DIR)/user_headers/include
+
 CONFIGURE_VARS+= \
        LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
        CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \