diff --git a/Makefile b/Makefile index 4af59e7336e410..81a92cfaf6dc9b 100644 --- a/Makefile +++ b/Makefile @@ -147,7 +147,7 @@ ifdef JOBS NINJA_ARGS := $(NINJA_ARGS) -j$(JOBS) else IMMEDIATE_NINJA_ARGS := $(NINJA_ARGS) - NINJA_ARGS = $(IMMEDIATE_NINJA_ARGS) $(filter -j%,$(MAKEFLAGS)) + NINJA_ARGS = $(filter -j%,$(MAKEFLAGS))$(IMMEDIATE_NINJA_ARGS) endif $(NODE_EXE): config.gypi out/Release/build.ninja $(NINJA) -C out/Release $(NINJA_ARGS)