[meta-oe][PATCH] nodejs: add -fpermissive also to BUILD_CXXFLAGS to fix build with openssl-native-3


Martin Jansa
 

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb | 1 +
1 file changed, 1 insertion(+)

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 a64288d8ab..d468f2518e 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb
@@ -131,6 +131,7 @@ addtask create_v8_qemu_wrapper after do_configure before do_compile

# Keep until openssl 3.x compatibility is fixed
CXXFLAGS += "-fpermissive"
+BUILD_CXXFLAGS += "-fpermissive"

LDFLAGS:append:x86 = " -latomic"

--
2.32.0


Khem Raj
 

On Thu, Oct 14, 2021 at 12:29 PM Martin Jansa <Martin.Jansa@...> wrote:

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb | 1 +
1 file changed, 1 insertion(+)

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 a64288d8ab..d468f2518e 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb
@@ -131,6 +131,7 @@ addtask create_v8_qemu_wrapper after do_configure before do_compile

# Keep until openssl 3.x compatibility is fixed
CXXFLAGS += "-fpermissive"
+BUILD_CXXFLAGS += "-fpermissive"
Thanks, I had similar local change


LDFLAGS:append:x86 = " -latomic"

--
2.32.0