diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-07-19 14:59:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-07-19 14:59:16 +0000 |
commit | 13f50151bc99f2d36d768e6b9da7d11aa0a00507 (patch) | |
tree | d74af7819a9d8ec0d0ed341a80c6469d3b97116d /package | |
parent | 51ab7ade4e0e2a99e898510f093a3d96f75e7e35 (diff) | |
download | upstream-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')
-rw-r--r-- | package/devel/strace/Makefile | 2 |
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)" \ |