sysprof: break on ppc64 musl

This commit is contained in:
q66 2018-12-20 18:22:11 +01:00 committed by Helmut Pozimski
parent d9d7e28e56
commit 70fcc0dfba
1 changed files with 6 additions and 2 deletions

View File

@ -14,8 +14,12 @@ distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e90878e5a509bd79d170a7a51d47cc5508ab1363afaf0d97654373dfd9c8ba0b
case "$XBPS_TARGET_MACHINE" in
aarch64-musl|x86_64-musl) broken="__WORDSIZE definitions aren't recognized" ;;
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
aarch64-musl|x86_64-musl|ppc64le-musl|ppc64-musl)
broken="__WORDSIZE definitions aren't recognized"
;;
x64_64-musl|aarch64-musl|ppc64le-musl|ppc64-musl)
CFLAGS="-D__WORDSIZE=64"
;;
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
esac