diff --git a/srcpkgs/cereal/template b/srcpkgs/cereal/template index 6e2412a8fb5..c454ed85833 100644 --- a/srcpkgs/cereal/template +++ b/srcpkgs/cereal/template @@ -12,13 +12,11 @@ homepage="https://uscilab.github.io/cereal" distfiles="https://github.com/USCiLab/cereal/archive/v${version}.tar.gz" checksum=329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5 -case "$XBPS_TARGET_MACHINE" in - armv[56]*|ppc|ppc-musl*) - makedepends+=" libatomic-devel" - LDFLAGS+=" -latomic" - configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" - ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + LDFLAGS+=" -latomic" + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" +fi post_install() { vlicense LICENSE