From c64a31ff7d075fc8b80f758859311598de73425b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 30 Mar 2020 14:21:30 +0200 Subject: [PATCH] cereal: use $XBPS_TARGET_NO_ATOMIC8 --- srcpkgs/cereal/template | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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