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>
This commit is contained in:
Johan Bergström 2015-01-13 13:52:44 +11:00 committed by Rod Vagg
parent 17217c3725
commit 5ea716d895

View File

@ -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