summaryrefslogtreecommitdiff
path: root/package/strace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/strace/Makefile')
-rw-r--r--package/strace/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/strace/Makefile b/package/strace/Makefile
index 303cf71f8..1908419af 100644
--- a/package/strace/Makefile
+++ b/package/strace/Makefile
@@ -23,6 +23,9 @@ TARGET_CFLAGS+= -static
endif
ifeq ($(ADK_TARGET_LIB_MUSL),y)
TARGET_CPPFLAGS+= -DMSG_EXCEPT=020000 -D_LARGEFILE64_SOURCE=1
+ifeq ($(ADK_LINUX_PPC),y)
+TARGET_CPPFLAGS+= -Dsigcontext_struct=sigcontext -include ppc-regs.h
+endif
endif
INSTALL_STYLE:= manual