nodejs: add libatomic-devel to {host,}makedepends
Also architectures where XBPS_{TARGET_}NO_ATOMIC8 is false , e.g. armv7l, are linked against libatomic, so just always add that tiny dependency to {host,}makedepends.
This commit is contained in:
parent
bb914f77d2
commit
2b64e03a11
|
@ -4,11 +4,11 @@ version=14.15.4
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="node-v${version}"
|
wrksrc="node-v${version}"
|
||||||
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
|
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
|
||||||
hostmakedepends="which pkg-config python3 zlib-devel $(vopt_if icu icu-devel)
|
hostmakedepends="which pkg-config python3 libatomic-devel zlib-devel
|
||||||
$(vopt_if ssl libressl-devel) $(vopt_if libuv libuv-devel)
|
$(vopt_if icu icu-devel) $(vopt_if ssl libressl-devel) $(vopt_if libuv libuv-devel)
|
||||||
$(vopt_if http_parser http-parser-devel) $(vopt_if nghttp2 nghttp2-devel)
|
$(vopt_if http_parser http-parser-devel) $(vopt_if nghttp2 nghttp2-devel)
|
||||||
$(vopt_if cares c-ares-devel) $(vopt_if http_parser llhttp-devel)"
|
$(vopt_if cares c-ares-devel) $(vopt_if http_parser llhttp-devel)"
|
||||||
makedepends="zlib-devel $(vopt_if icu icu-devel)
|
makedepends="libatomic-devel zlib-devel $(vopt_if icu icu-devel)
|
||||||
$(vopt_if ssl libressl-devel) $(vopt_if libuv libuv-devel)
|
$(vopt_if ssl libressl-devel) $(vopt_if libuv libuv-devel)
|
||||||
$(vopt_if http_parser http-parser-devel) $(vopt_if nghttp2 nghttp2-devel)
|
$(vopt_if http_parser http-parser-devel) $(vopt_if nghttp2 nghttp2-devel)
|
||||||
$(vopt_if cares c-ares-devel) $(vopt_if http_parser llhttp-devel)"
|
$(vopt_if cares c-ares-devel) $(vopt_if http_parser llhttp-devel)"
|
||||||
|
@ -47,13 +47,6 @@ 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
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
||||||
makedepends+=" libatomic-devel"
|
|
||||||
fi
|
|
||||||
if [ "$XBPS_NO_ATOMIC8" ]; then
|
|
||||||
hostmakedepends+=" libatomic-devel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue