diff options
author | isaacs <i@izs.me> | 2012-07-24 16:19:08 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-07-25 10:25:37 -0700 |
commit | 8656c2654e4e197ea8c2ec29b482b575dedda50a (patch) | |
tree | f9e1fae77b9b601a21ecaa56093d1186cac1b0d7 | |
parent | 1513848f8801d7d1141c10c4960b6bfe47a53ed2 (diff) | |
download | node-new-8656c2654e4e197ea8c2ec29b482b575dedda50a.tar.gz |
Fix #3761 build: Default to V=1
-rw-r--r-- | Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -4,6 +4,11 @@ BUILDTYPE ?= Release PYTHON ?= python DESTDIR ?= +# Default to verbose builds. +# To do quiet/pretty builds, run `make V=` to set V to an empty string, +# or set the V environment variable to an empty string. +V ?= 1 + # 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) @@ -17,18 +22,18 @@ endif .PHONY: node node_g node: config.gypi - $(MAKE) -C out BUILDTYPE=Release + $(MAKE) -C out BUILDTYPE=Release V=$(V) ln -fs out/Release/node node node_g: config.gypi - $(MAKE) -C out BUILDTYPE=Debug + $(MAKE) -C out BUILDTYPE=Debug V=$(V) ln -fs out/Debug/node node_g config.gypi: configure ./configure out/Debug/node: - $(MAKE) -C out BUILDTYPE=Debug + $(MAKE) -C out BUILDTYPE=Debug V=$(V) out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp deps/zlib/zlib.gyp deps/v8/build/common.gypi deps/v8/tools/gyp/v8.gyp node.gyp config.gypi $(PYTHON) tools/gyp_node -f make @@ -201,10 +206,10 @@ $(PKG): rm -rf $(PKGDIR) rm -rf out/deps out/Release ./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32 - $(MAKE) install + $(MAKE) install V=$(V) rm -rf out/deps out/Release ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64 - $(MAKE) install + $(MAKE) install V=$(V) lipo $(PKGDIR)/32/usr/local/bin/node \ $(PKGDIR)/usr/local/bin/node \ -output $(PKGDIR)/usr/local/bin/node-universal \ |