mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
nodejs: use generic libatomic checks
This commit is contained in:
parent
b4ca602dff
commit
c7dfd26d51
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" ;;
|
ppc*) broken="Node 12.x does not support 32-bit ppc" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# v8 requires libatomic on ppc*/s390x/mips*
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
makedepends+=" libatomic-devel"
|
||||||
mips*|ppc*) makedepends+=" libatomic-devel" ;;
|
fi
|
||||||
*) ;;
|
if [ "$XBPS_NO_ATOMIC8" ]; then
|
||||||
esac
|
hostmakedepends+=" libatomic-devel"
|
||||||
|
fi
|
||||||
# also need it on host when it's one of those archs
|
|
||||||
case "$XBPS_MACHINE" in
|
|
||||||
mips*|ppc*) hostmakedepends+=" libatomic-devel" ;;
|
|
||||||
*) ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _args
|
local _args
|
||||||
|
|
Loading…
Add table
Reference in a new issue