node: Enable cross-compiling options and disable dtrace and etw

dtrace and etw are hardly used for embedded usecase

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-03-19 23:44:00 -07:00
parent 15963a059b
commit 1f457c22c8
@@ -99,7 +99,9 @@ do_configure () {
export LD="${CXX}"
GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
# $TARGET_ARCH settings don't match --dest-cpu settings
python3 configure.py --prefix=${prefix} --without-snapshot --shared-openssl \
python3 configure.py --prefix=${prefix} --cross-compiling --without-snapshot --shared-openssl \
--without-dtrace \
--without-etw \
--dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
--dest-os=linux \
--libdir=${D}${libdir} \