diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-06-16 21:28:34 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-06-29 13:09:25 -0700 |
commit | 074e7f88aff0244dd9aee412e885194ce3f5a953 (patch) | |
tree | 0e822afafde71ca7ba6d16d35f392d5fd942b4cb /Makefile | |
parent | bf360d2e151f9025a990e671147117139e596bfe (diff) | |
download | android-node-v8-074e7f88aff0244dd9aee412e885194ce3f5a953.tar.gz android-node-v8-074e7f88aff0244dd9aee412e885194ce3f5a953.tar.bz2 android-node-v8-074e7f88aff0244dd9aee412e885194ce3f5a953.zip |
build: remove requirement to re-run ./configure
Instead of requiring `./configure` to be run again after
the file changed, first try to re-run the configure script
with the arguments with which it was originally run.
Usually, those arguments will either contain no flags,
or all flags that were passed are still supported.
PR-URL: https://github.com/nodejs/node/pull/21371
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -114,7 +114,12 @@ out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp \ $(PYTHON) tools/gyp_node.py -f make config.gypi: configure - $(error Missing or stale $@, please run ./$<) + @if [ -x config.status ]; then \ + ./config.status; \ + else \ + echo Missing or stale $@, please run ./$<; \ + exit 1; \ + fi .PHONY: install install: all ## Installs node into $PREFIX (default=/usr/local). |