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
master
Felix Fietkau 10 years ago
parent 51ab7ade4e
commit 13f50151bc
  1. 2
      package/devel/strace/Makefile

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

Loading…
Cancel
Save