uhd: needs 128-bit atomics, so use libatomic on ppc64 too
This commit is contained in:
parent
4620d3829b
commit
3ceed4624b
|
@ -20,7 +20,18 @@ case "${XBPS_TARGET_MACHINE}" in
|
|||
arm*) configure_args+=" -DNEON_SIMD_ENABLE=OFF"
|
||||
esac
|
||||
|
||||
_use_libatomic=no
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
_use_libatomic=yes
|
||||
else
|
||||
# 128-bit atomics
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc*) _use_libatomic=yes ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if [ "$_use_libatomic" = "yes" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue