diff --git a/srcpkgs/tomahawk/template b/srcpkgs/tomahawk/template index 1b7af116af4..3910267caa8 100644 --- a/srcpkgs/tomahawk/template +++ b/srcpkgs/tomahawk/template @@ -40,9 +40,9 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" fi -case "$XBPS_TARGET_MACHINE" in - armv[56]*|mips*|ppc|ppc-musl) makedepends+=" libatomic-devel" -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" +fi tomahawk-devel_package() { depends="tomahawk>=${version}_${revision}"