Browse Source

build: use BUILDTYPE when building V8 in Makefile

Without this it would always compile Release and Debug builds.

Ref: https://github.com/nodejs/node/issues/7477
PR-URL: https://github.com/nodejs/node/pull/7482
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
v7.x
Michaël Zasso 9 years ago
parent
commit
22492db931
  1. 2
      Makefile

2
Makefile

@ -112,7 +112,7 @@ cctest: all
v8: v8:
tools/make-v8.sh v8 tools/make-v8.sh v8
$(MAKE) -C deps/v8 $(V8_ARCH) $(V8_BUILD_OPTIONS) $(MAKE) -C deps/v8 $(V8_ARCH).$(BUILDTYPE_LOWER) $(V8_BUILD_OPTIONS)
test: all test: all
$(MAKE) build-addons $(MAKE) build-addons

Loading…
Cancel
Save