gnuradio: fix build on platforms without 64-bit atomics

This commit is contained in:
q66 2022-07-30 00:06:12 +02:00
parent cf954aad6f
commit 477241c444
1 changed files with 5 additions and 0 deletions

View File

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