diff --git a/srcpkgs/gnuradio/template b/srcpkgs/gnuradio/template index cb7afd79710..43ae4e1cb1b 100644 --- a/srcpkgs/gnuradio/template +++ b/srcpkgs/gnuradio/template @@ -42,6 +42,11 @@ if [ "${XBPS_TARGET_MACHINE%-musl}" = "i686" ]; then make_check=ci-skip # See https://github.com/gnuradio/gnuradio/issues/5973 fi +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" +fi + post_install() { rm ${DESTDIR}/usr/share/gnuradio/examples/audio/dial_tone \ ${DESTDIR}/usr/share/gnuradio/examples/qt-gui/display_qt \