From 01d24acb40be0ef2630b78a2907f76f0aa48c9d7 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 11 Oct 2021 20:41:30 +0200 Subject: [PATCH] nodejs: use -fpermissive This resolves openssl 3.x errors until upstream addresses them properly. Signed-off-by: Alexander Kanavin Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb index 4715019798..e443987216 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb @@ -128,6 +128,9 @@ python do_create_v8_qemu_wrapper () { do_create_v8_qemu_wrapper[dirs] = "${B}" addtask create_v8_qemu_wrapper after do_configure before do_compile +# Keep until openssl 3.x compatibility is fixed +CXXFLAGS += "-fpermissive" + LDFLAGS:append:x86 = " -latomic" # Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi