qt5-webkit: use XBPS_TARGET_NO_ATOMIC8

This should cover all current and future architectures which need libatomic.
This commit is contained in:
Jürgen Buchmüller 2020-03-30 14:07:41 +02:00
parent c3ee5c7c7d
commit ae8b04b7be

View file

@ -41,14 +41,10 @@ case "$XBPS_TARGET_MACHINE" in
esac esac
# some platforms need libatomic # some platforms need libatomic
case "$XBPS_TARGET_MACHINE" in if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
ppc64*) ;; makedepends+=" libatomic-devel"
armv[56]*|ppc*) LIBS+=" -latomic"
makedepends+=" libatomic-devel" fi
LIBS+=" -latomic"
;;
*) ;;
esac
# use system malloc on ppc64le (potential 64k page kernel) # use system malloc on ppc64le (potential 64k page kernel)
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in