summaryrefslogtreecommitdiff
path: root/package/strace
diff options
context:
space:
mode:
authorWaldemar Brodkorb <w.brodkorb@deubert.it>2016-02-20 22:21:27 +0100
committerWaldemar Brodkorb <w.brodkorb@deubert.it>2016-02-20 22:21:49 +0100
commitb752d86ec4fc9824935bb03bad6086c6bb524aa2 (patch)
tree997aefca35234b3369902aaf3328451a5161946f /package/strace
parent3430a34a89f7fe2b49ad572fa094e1a8c0f83128 (diff)
strace: fix cross-compile on MacOS X
Diffstat (limited to 'package/strace')
-rw-r--r--package/strace/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/strace/Makefile b/package/strace/Makefile
index d38de92bc..707ccb674 100644
--- a/package/strace/Makefile
+++ b/package/strace/Makefile
@@ -15,7 +15,8 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,STRACE,strace,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-XAKE_FLAGS+= GCC_HONOUR_COPTS=s
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s \
+ CPPFLAGS_FOR_BUILD="-I$(LINUX_DIR)/include/uapi -I$(LINUX_DIR)/arch/$(ADK_TARGET_ARCH)/include/generated"
ifeq ($(ADK_TARGET_LIB_MUSL),y)
TARGET_CPPFLAGS+= -DMSG_EXCEPT=020000 -D_LARGEFILE64_SOURCE=1