nodejs-lts-10: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:21:20 +01:00
parent dbe903380a
commit c84cc621d2

View file

@ -35,11 +35,12 @@ if [ "$XBPS_WORDSIZE" -ne "$XBPS_TARGET_WORDSIZE" ]; then
nocross="host and target must have the same pointer size"
fi
case "$XBPS_MACHINE" in
ppc64*) ;;
mips*|ppc*) hostmakedepends+=" libatomic-devel" ;;
*) ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
if [ "$XBPS_NO_ATOMIC8" ]; then
hostmakedepends+=" libatomic-devel"
fi
do_configure() {
local _args