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 | f4ed380cf7c82ca040b94d19a63efbc621056233 (patch) | |
tree | 6393a5022eb4d4d7d6ebaef454d28a0f44a2211f /package/devel/strace | |
parent | 53ee16adf45245f25d2f2c4a08478a7a8b3464a5 (diff) | |
download | master-187ad058-f4ed380cf7c82ca040b94d19a63efbc621056233.tar.gz master-187ad058-f4ed380cf7c82ca040b94d19a63efbc621056233.tar.bz2 master-187ad058-f4ed380cf7c82ca040b94d19a63efbc621056233.zip |
strace: add kernel headers include to host cflags to fix build on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46423 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/devel/strace')
-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)" \ |