Skip to content

Commit

Permalink
nodejs: libatomic patch should be target specific
Browse files Browse the repository at this point in the history
host usually are using gcc/x86_64/aarch64 and all of them have gcc which
can support atomic intrinsics, but not all of them install libatomic by
default e.g. centos-7, so asking for libatomic unconditionally may not
work always

Signed-off-by: Khem Raj <[email protected]>
Acked-by: Andreas Müller <[email protected]>
Acked-by: Tim Orling <[email protected]>
  • Loading branch information
kraj committed Nov 22, 2019
1 parent 80d4d75 commit 86d4131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ COMPATIBLE_HOST_riscv32 = "null"
SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
file://0004-Make-compatibility-with-gcc-4.8.patch \
file://0005-Link-atomic-library.patch \
file://0007-v8-don-t-override-ARM-CFLAGS.patch \
"
SRC_URI_append_class-target = " \
file://0005-Link-atomic-library.patch \
file://0002-Using-native-torque.patch \
"

Expand Down

0 comments on commit 86d4131

Please sign in to comment.