summaryrefslogtreecommitdiff
path: root/package/strace
diff options
context:
space:
mode:
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