From 3ff0235737077ab43a7e8ce065d891a13d2c0d17 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 20 Feb 2023 15:46:13 +0000 Subject: nodejs: remove LD assignment The purpose of this appears to have been lost, and the build succeeds without it. If it is needed, then it should be added to EXTRA_OEMAKE alongside the CC and CXX assignments. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb') diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb index f8b7f76f61..a667d3bd3f 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb @@ -140,9 +140,10 @@ LDFLAGS:append:x86 = " -latomic" CROSS_FLAGS = "--cross-compiling" CROSS_FLAGS:class-native = "--no-cross-compiling" +#export LD="${CXX}" + # Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi do_configure () { - export LD="${CXX}" GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES # $TARGET_ARCH settings don't match --dest-cpu settings python3 configure.py --verbose --prefix=${prefix} \ @@ -158,7 +159,6 @@ do_configure () { } do_compile () { - export LD="${CXX}" install -D ${RECIPE_SYSROOT_NATIVE}/etc/ssl/openssl.cnf ${B}/deps/openssl/nodejs-openssl.cnf install -D ${B}/v8-qemu-wrapper.sh ${B}/out/Release/v8-qemu-wrapper.sh oe_runmake BUILDTYPE=Release -- cgit v1.2.3-54-g00ecf