diff --git a/Makefile b/Makefile index db78e09b687784..430aa40f7396e9 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)