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:
parent
51ab7ade4e
commit
13f50151bc
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
HOST_CFLAGS += -I$(LINUX_DIR)/user_headers/include
|
||||||
|
|
||||||
CONFIGURE_VARS+= \
|
CONFIGURE_VARS+= \
|
||||||
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
||||||
CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \
|
CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \
|
||||||
|
|
Loading…
Reference in a new issue