strace: add kernel headers include to host cflags to fix build on non-linux systems

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46423
This commit is contained in:
Felix Fietkau 2015-07-19 14:59:16 +00:00
parent 51ab7ade4e
commit 13f50151bc
1 changed files with 2 additions and 0 deletions

View 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)" \