nodejs: use -fpermissive

This resolves openssl 3.x errors until upstream addresses them properly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alexander Kanavin
2021-10-11 20:41:30 +02:00
committed by Khem Raj
parent e8f84f7803
commit 01d24acb40
@@ -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