diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2016-08-25 07:36:32 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2016-09-22 10:55:40 +0300 |
commit | 19c9567686781b6cfd4d8b3908182d0df09c0d95 (patch) | |
tree | c831f3652a3301572cb18cd3582675c30fc4e1f3 /configure | |
parent | 2187bd3b4a3430880ec1c2b99e4eff57f27afd89 (diff) |
build: fix mkpeephole configuration
mkpeephole is a binary that gets generated and run at V8 build time.
On cross-compilation builds separate build toolchains are required.
Similar to want_separate_host_toolset we default to disabled.
PR-URL: https://github.com/nodejs/node/pull/8317
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure index 42dac5ff64c..9b4fa94521a 100755 --- a/configure +++ b/configure @@ -760,6 +760,8 @@ def configure_node(o): want_snapshots = not options.without_snapshot o['variables']['want_separate_host_toolset'] = int( cross_compiling and want_snapshots) + o['variables']['want_separate_host_toolset_mkpeephole'] = int( + cross_compiling) if target_arch == 'arm': configure_arm(o) |