diff --git a/srcpkgs/apr-util/template b/srcpkgs/apr-util/template index f0fc44a743..a916bcf58b 100644 --- a/srcpkgs/apr-util/template +++ b/srcpkgs/apr-util/template @@ -20,13 +20,10 @@ license="Apache-2.0" distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2" checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b -case "$XBPS_TARGET_MACHINE" in - ppc64*);; - ppc*|armv[56]*|mips*) - makedepends+=" libatomic-devel" - LDFLAGS="-latomic" - ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + LDFLAGS="-latomic" +fi pre_configure() { sed -i configure \