gnuradio: fix build on platforms without 64-bit atomics
This commit is contained in:
parent
cf954aad6f
commit
477241c444
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue