summaryrefslogtreecommitdiff
path: root/package/strace/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-16 08:39:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-16 08:39:31 +0100
commit03f50b1de4d1466414bbfafb0b8f3f912aacbd41 (patch)
tree06c6ab184b044478d82b087a509ac4ddda9f64f5 /package/strace/Makefile
parent904e9a9e7484b5330ddf5ce980f2c12830cbc830 (diff)
fix musl ppc compile, from sabotage
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 b0dc32eb9..59f0a997a 100644
--- a/package/strace/Makefile
+++ b/package/strace/Makefile
@@ -25,6 +25,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