sonic-visualizer: use libatomic on ppc32

This commit is contained in:
q66 2020-01-09 00:39:14 +01:00
parent 7f0499ef2c
commit 42be4210d8
1 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,8 @@ distfiles="https://code.soundsoftware.ac.uk/attachments/download/2607/${pkgname}
checksum=e6e9dbec686c9dc94d32dff311eb0f6b44b63d3643285b3d8d908dfb9b22c790
case "$XBPS_TARGET_MACHINE" in
armv6*) makedepends+=" libatomic-devel" ;;
ppc64*) ;;
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
esac
if [ "$CROSS_BUILD" ]; then
@ -37,7 +38,8 @@ post_extract() {
fi
case "$XBPS_TARGET_MACHINE" in
armv6*) sed -i -e "s/^linux\*:LIBS +=.*/& -latomic/" config.pri.in ;;
ppc64*) ;;
armv6*|ppc*) sed -i -e "s/^linux\*:LIBS +=.*/& -latomic/" config.pri.in ;;
esac
}