summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb')
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
index e36995c258..71a47636b0 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
@@ -17,12 +17,13 @@ COMPATIBLE_HOST_riscv32 = "null"
17 17
18SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ 18SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
19 file://0001-Disable-running-gyp-files-for-bundled-deps.patch \ 19 file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
20 file://0003-Install-both-binaries-and-use-libdir.patch \
20 file://0004-Make-compatibility-with-gcc-4.8.patch \ 21 file://0004-Make-compatibility-with-gcc-4.8.patch \
21 file://0007-v8-don-t-override-ARM-CFLAGS.patch \ 22 file://0007-v8-don-t-override-ARM-CFLAGS.patch \
22 " 23 "
23SRC_URI_append_class-target = " \ 24SRC_URI_append_class-target = " \
24 file://0005-Link-atomic-library.patch \
25 file://0002-Using-native-torque.patch \ 25 file://0002-Using-native-torque.patch \
26 file://0005-Link-atomic-library.patch \
26 " 27 "
27 28
28SRC_URI[md5sum] = "d5a56d0abf764a91f627f0690cd4b9f3" 29SRC_URI[md5sum] = "d5a56d0abf764a91f627f0690cd4b9f3"
@@ -57,6 +58,7 @@ PACKAGECONFIG[gyp] = ",,gyp-py2-native"
57PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu" 58PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
58PACKAGECONFIG[libuv] = "--shared-libuv,,libuv" 59PACKAGECONFIG[libuv] = "--shared-libuv,,libuv"
59PACKAGECONFIG[nghttp2] = "--shared-nghttp2,,nghttp2" 60PACKAGECONFIG[nghttp2] = "--shared-nghttp2,,nghttp2"
61PACKAGECONFIG[shared] = "--shared"
60PACKAGECONFIG[zlib] = "--shared-zlib,,zlib" 62PACKAGECONFIG[zlib] = "--shared-zlib,,zlib"
61 63
62# We don't want to cross-compile during target compile, 64# We don't want to cross-compile during target compile,
@@ -99,6 +101,7 @@ do_configure () {
99 ./configure --prefix=${prefix} --without-snapshot --shared-openssl \ 101 ./configure --prefix=${prefix} --without-snapshot --shared-openssl \
100 --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ 102 --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
101 --dest-os=linux \ 103 --dest-os=linux \
104 --libdir=${D}${libdir} \
102 ${ARCHFLAGS} \ 105 ${ARCHFLAGS} \
103 ${PACKAGECONFIG_CONFARGS} 106 ${PACKAGECONFIG_CONFARGS}
104} 107}