strace: unbreak on mipsel-musl.
This commit is contained in:
parent
b38bf2100c
commit
3947f2a2b1
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' 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
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) export CFLAGS+=" -Dsigcontext_struct=sigcontext";;
|
*-musl) export CFLAGS+=" -Dsigcontext_struct=sigcontext";;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue