nodejs-lts: use generic libatomic checks
This commit is contained in:
parent
c7dfd26d51
commit
dbe903380a
1 changed files with 6 additions and 11 deletions
|
@ -41,17 +41,12 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
ppc*) broken="Node 12.x does not support 32-bit ppc" ;;
|
||||
esac
|
||||
|
||||
# v8 requires libatomic on ppc*/s390x/mips*
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
mips*|ppc*) makedepends+=" libatomic-devel" ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
# also need it on host when it's one of those archs
|
||||
case "$XBPS_MACHINE" in
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue