projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c75251c
)
build: make ninja build respect V=
author
Ben Noordhuis
<info@bnoordhuis.nl>
Sat, 10 Aug 2013 11:17:26 +0000
(13:17 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Sat, 10 Aug 2013 11:18:07 +0000
(13:18 +0200)
Compiling with `make V=1` (which is the default) now runs ninja in
verbose mode. To disable, run `make V=`.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
d3d302b
..
b0d3375
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-14,6
+14,12
@@
NODE ?= ./node
# or set the V environment variable to an empty string.
V ?= 1
+ifeq ($(USE_NINJA),1)
+ifneq ($(V),)
+NINJA := $(NINJA) -v
+endif
+endif
+
# BUILDTYPE=Debug builds both release and debug builds. If you want to compile
# just the debug build, run `make -C out BUILDTYPE=Debug` instead.
ifeq ($(BUILDTYPE),Release)