sysprof: fix musl
This commit is contained in:
parent
0493aac08c
commit
0c50bbbd83
|
@ -16,10 +16,15 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
|
||||
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
|
||||
esac
|
||||
CFLAGS+=" -Wno-error"
|
||||
CFLAGS+=" -Wno-error -Wno-error=undef"
|
||||
|
||||
pre_build() {
|
||||
export SHELL=/bin/bash
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed '/define SP_CAPTURE_ADDRESS_FORMAT/s/ll/l/' -i lib/capture/sp-capture-types.h
|
||||
;;
|
||||
esac
|
||||
export SHELL=/bin/bash
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in New Issue