diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template index 8f7e963aa28..bd750433d5d 100644 --- a/srcpkgs/qt5-webkit/template +++ b/srcpkgs/qt5-webkit/template @@ -41,14 +41,10 @@ case "$XBPS_TARGET_MACHINE" in esac # some platforms need libatomic -case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - armv[56]*|ppc*) - makedepends+=" libatomic-devel" - LIBS+=" -latomic" - ;; - *) ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + LIBS+=" -latomic" +fi # use system malloc on ppc64le (potential 64k page kernel) case "$XBPS_TARGET_MACHINE" in