From 03f50b1de4d1466414bbfafb0b8f3f912aacbd41 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 16 Jan 2014 08:39:31 +0100 Subject: fix musl ppc compile, from sabotage --- package/strace/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/strace/Makefile') 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 -- cgit v1.2.3