From 13f50151bc99f2d36d768e6b9da7d11aa0a00507 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 19 Jul 2015 14:59:16 +0000 Subject: strace: add kernel headers include to host cflags to fix build on non-linux systems Signed-off-by: Felix Fietkau SVN-Revision: 46423 --- package/devel/strace/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') 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)" \ -- cgit v1.2.3