mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
sysprof: fix musl
This commit is contained in:
parent
0493aac08c
commit
0c50bbbd83
1 changed files with 7 additions and 2 deletions
|
@ -16,10 +16,15 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
|
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
|
||||||
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
|
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
|
||||||
esac
|
esac
|
||||||
CFLAGS+=" -Wno-error"
|
CFLAGS+=" -Wno-error -Wno-error=undef"
|
||||||
|
|
||||||
pre_build() {
|
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() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue