qt5: need libatomic for armv[56]* as well

This commit is contained in:
Jürgen Buchmüller 2020-01-11 00:16:23 +01:00
parent a4e62ea857
commit 0aad09ef71
1 changed files with 3 additions and 3 deletions

View File

@ -44,14 +44,14 @@ case "$XBPS_TARGET_MACHINE" in
esac
if [ "$build_option_webengine" ]; then
# v8 requires libatomic on ppc*/s390x/mips*
# v8 requires libatomic on armv[56]*/ppc*/s390x/mips*
case "$XBPS_TARGET_MACHINE" in
mips*|ppc*) makedepends+=" libatomic-devel" ;;
armv[56]*|mips*|ppc*) makedepends+=" libatomic-devel" ;;
*) ;;
esac
# also need it on host when it's one of those archs
case "$XBPS_MACHINE" in
mips*|ppc*) hostmakedepends+=" libatomic-devel" ;;
armv[56]*|mips*|ppc*) hostmakedepends+=" libatomic-devel" ;;
*) ;;
esac
fi