From: Felix Fietkau Date: Sun, 19 Jul 2015 14:59:16 +0000 (+0000) Subject: strace: add kernel headers include to host cflags to fix build on non-linux systems X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13f50151bc99f2d36d768e6b9da7d11aa0a00507;p=openwrt%2Fstaging%2Fkaloz.git strace: add kernel headers include to host cflags to fix build on non-linux systems Signed-off-by: Felix Fietkau SVN-Revision: 46423 --- diff --git a/package/devel/strace/Makefile b/package/devel/strace/Makefile index b9ed201bba..76c140aa57 100644 --- a/package/devel/strace/Makefile +++ b/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)" \