Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix #3761 build: Default to V=1

  • Loading branch information
isaacs committed Jul 24, 2012
1 parent 1513848 commit 8656c2654e4e197ea8c2ec29b482b575dedda50a
Showing with 10 additions and 5 deletions.
  1. +10 −5 Makefile
@@ -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 \

0 comments on commit 8656c26

Please sign in to comment.
You can’t perform that action at this time.