qt5: use generic libatomic checks
This commit is contained in:
parent
a7c80cd5dc
commit
d4cf5221d2
1 changed files with 6 additions and 10 deletions
|
@ -47,16 +47,12 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
if [ "$build_option_webengine" ]; then
|
||||
# v8 requires libatomic on armv[56]*/ppc*/s390x/mips*
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[56]*|mips*|ppc*) makedepends+=" libatomic-devel" ;;
|
||||
*) ;;
|
||||
esac
|
||||
# also need it on host when it's one of those archs
|
||||
case "$XBPS_MACHINE" in
|
||||
armv[56]*|mips*|ppc*) hostmakedepends+=" libatomic-devel" ;;
|
||||
*) ;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
if [ "$XBPS_NO_ATOMIC8" ]; then
|
||||
hostmakedepends+=" libatomic-devel"
|
||||
fi
|
||||
fi
|
||||
|
||||
subpackages="qt5-3d qt5-3d-devel qt5-charts qt5-charts-devel
|
||||
|
|
Loading…
Reference in a new issue