summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2017-11-15 23:53:50 +0800
committerAnna Henningsen <anna@addaleax.net>2017-11-18 20:33:31 +0100
commitc5b8e168b32393a486238e537b1eeac24013bfed (patch)
tree5bd7b82c69ebe61fa2bca89ffd57a3bf43d659a9 /Makefile
parent4b82d892abfcac160a0486d432e23e27315a5765 (diff)
downloadandroid-node-v8-c5b8e168b32393a486238e537b1eeac24013bfed.tar.gz
android-node-v8-c5b8e168b32393a486238e537b1eeac24013bfed.tar.bz2
android-node-v8-c5b8e168b32393a486238e537b1eeac24013bfed.zip
build: enforce order of dependency when building addons
PR-URL: https://github.com/nodejs/node/pull/17048 Fixes: https://github.com/nodejs/node/issues/17043 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fce5d7146a..7e4b33d571 100644
--- a/Makefile
+++ b/Makefile
@@ -314,7 +314,7 @@ test/addons/.buildstamp: config.gypi \
# .buildstamp is out of date and need a rebuild.
# Just goes to show that recursive make really is harmful...
# TODO(bnoordhuis) Force rebuild after gyp update.
-build-addons: $(NODE_EXE) test/addons/.buildstamp
+build-addons: | $(NODE_EXE) test/addons/.buildstamp
ADDONS_NAPI_BINDING_GYPS := \
$(filter-out test/addons-napi/??_*/binding.gyp, \
@@ -353,7 +353,7 @@ test/addons-napi/.buildstamp: config.gypi \
# .buildstamp is out of date and need a rebuild.
# Just goes to show that recursive make really is harmful...
# TODO(bnoordhuis) Force rebuild after gyp or node-gyp update.
-build-addons-napi: $(NODE_EXE) test/addons-napi/.buildstamp
+build-addons-napi: | $(NODE_EXE) test/addons-napi/.buildstamp
clear-stalled:
# Clean up any leftover processes but don't error if found.