diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 4e70bd71a3..b8e57e567d 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -47,7 +47,7 @@ HOST_NODEJS_MAKE_OPTS = \ LDFLAGS.host="$(HOST_LDFLAGS)" \ NO_LOAD=cctest.target.mk \ PATH=$(@D)/bin:$(BR_PATH) \ - JOBS=$(BR2_JLEVEL) + JOBS=$(PARALLEL_JOBS) NODEJS_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ @@ -55,7 +55,7 @@ NODEJS_MAKE_OPTS = \ PATH=$(@D)/bin:$(BR_PATH) \ LDFLAGS="$(NODEJS_LDFLAGS)" \ LD="$(TARGET_CXX)" \ - JOBS=$(BR2_JLEVEL) + JOBS=$(PARALLEL_JOBS) # nodejs's build system uses python which can be a symlink to an unsupported # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by