strace: unbreak on mipsel-musl.

This commit is contained in:
Christian Neukirchen 2015-11-26 15:39:59 +01:00
parent b38bf2100c
commit 3947f2a2b1

View file

@ -18,6 +18,7 @@ esac
pre_configure() {
sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' configure
sed -i -e 's/include <sgidefs.h>/include <asm\/sgidefs.h>/g' configure
case "$XBPS_TARGET_MACHINE" in
*-musl) export CFLAGS+=" -Dsigcontext_struct=sigcontext";;
esac