Skip to contentSkip to conversation

nodejs: add -fpermissive also to BUILD_CXXFLAGS to fix build with openssl-native-3

PATCH In review Martin Jansa 2 participants 2 messages Oct 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nodejs: add -fpermissive also to BUILD_CXXFLAGS to fix build with openssl-native-3

---
 meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb +1 -0
index a64288d8ab..d468f2518e 100644
@@ -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"
 
Signature · 1 line
2.32.0
#1 lore raw
Quoted 11 lines · Martin Jansa
---
 meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb +0 -0
index a64288d8ab..d468f2518e 100644

meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb addtask create_v8_qemu_wrapper after do_configure before do_compile · line 134

Quoted 4 lines
meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb +1 -0
@@ -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

Quoted 15 lines
meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb +0 -1
 LDFLAGS:append:x86 = " -latomic"
 
--

2.32.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93302): https://lists.openembedded.org/g/openembedded-devel/message/93302
Mute This Topic: https://lists.openembedded.org/mt/86323011/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-