summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohan Bergström <bugs@bergstroem.nu>2015-01-13 13:52:44 +1100
committerRod Vagg <rod@vagg.org>2015-01-13 14:08:30 +1100
commit5ea716d89508747c90035532754952cd3b5f4abf (patch)
treede776bc3be3858171308165fdbedd6159bbbefff /Makefile
parent17217c37251dd6d3de1fb93bc0b257b9dd2cb425 (diff)
downloadnode-new-5ea716d89508747c90035532754952cd3b5f4abf.tar.gz
build: initialize variable before use
found with make --warn-undefined-variables PR-URL: https://github.com/iojs/io.js/pull/320 Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c2b46ff6e0..792ec1139d 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ NODE_G_EXE = iojs_g$(EXEEXT)
# or set the V environment variable to an empty string.
V ?= 1
+USE_NINJA ?= 0
ifeq ($(USE_NINJA),1)
ifneq ($(V),)
NINJA := $(NINJA) -v