aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-19 14:59:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-07-19 14:59:16 +0000
commit13f50151bc99f2d36d768e6b9da7d11aa0a00507 (patch)
treed74af7819a9d8ec0d0ed341a80c6469d3b97116d /package/devel
parent51ab7ade4e0e2a99e898510f093a3d96f75e7e35 (diff)
downloadupstream-13f50151bc99f2d36d768e6b9da7d11aa0a00507.tar.gz
upstream-13f50151bc99f2d36d768e6b9da7d11aa0a00507.tar.bz2
upstream-13f50151bc99f2d36d768e6b9da7d11aa0a00507.zip
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
Diffstat (limited to 'package/devel')
-rw-r--r--package/devel/strace/Makefile2
1 files changed, 2 insertions, 0 deletions
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)" \