build: don't print directory for GNUMake
Currently when running make targets the directory is printed on some operating systems (Linux for example): $ make lint make[1]: Entering directory '/work/node' Running JS linter... ./node tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules --ext=.js,.md \ benchmark doc lib test tools make[1]: Leaving directory '/work/node' make[1]: Entering directory '/work/node' Running C++ linter... On other operating systems the directory is not printed. This commit suggests adding a flag to make this consistent for GNUMake by not printing the directory. PR-URL: https://github.com/nodejs/node/pull/13042 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
parent
f2ba06db92
commit
ad7b98baa8
1
Makefile
1
Makefile
@ -12,6 +12,7 @@ LOGLEVEL ?= silent
|
|||||||
OSTYPE := $(shell uname -s | tr '[A-Z]' '[a-z]')
|
OSTYPE := $(shell uname -s | tr '[A-Z]' '[a-z]')
|
||||||
COVTESTS ?= test
|
COVTESTS ?= test
|
||||||
GTEST_FILTER ?= "*"
|
GTEST_FILTER ?= "*"
|
||||||
|
GNUMAKEFLAGS += --no-print-directory
|
||||||
|
|
||||||
ifdef JOBS
|
ifdef JOBS
|
||||||
PARALLEL_ARGS = -j $(JOBS)
|
PARALLEL_ARGS = -j $(JOBS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user