[oe] [zeus 1/8] nodejs: libatomic patch should be target specific

Armin Kuster akuster808 at gmail.com
Sun Jan 19 20:49:59 UTC 2020


From: Khem Raj <raj.khem at gmail.com>

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 <raj.khem at gmail.com>
Acked-by: Andreas Müller <schnitzeltony at gmail.com>
Acked-by: Tim Orling <timothy.t.orling at linux.intel.com>
(cherry picked from commit 86d4131dfabdf4bca27d96de6f271565f1a3a5c6)
[Fixup for zeus context]
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-devtools/nodejs/nodejs_10.16.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_10.16.3.bb b/meta-oe/recipes-devtools/nodejs/nodejs_10.16.3.bb
index a978eebe47..215d5e7ac0 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_10.16.3.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_10.16.3.bb
@@ -19,10 +19,10 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
            file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
            file://0003-Crypto-reduce-memory-usage-of-SignFinal.patch \
            file://0004-Make-compatibility-with-gcc-4.8.patch \
-           file://0005-Link-atomic-library.patch \
            file://0006-Use-target-ldflags.patch \
            "
 SRC_URI_append_class-target = " \
+           file://0005-Link-atomic-library.patch \
            file://0002-Using-native-torque.patch \
            "
 
-- 
2.17.1



More information about the Openembedded-devel mailing list