diff --git a/srcpkgs/glog/template b/srcpkgs/glog/template index a85b560fcb1..bb260e408d1 100644 --- a/srcpkgs/glog/template +++ b/srcpkgs/glog/template @@ -17,6 +17,11 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" -DPRINT_UNSYMBOLIZED_STACK_TRACES=OFF" fi +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES='-latomic'" +fi + post_install() { vlicense COPYING }