summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2016-08-24 21:36:32 -0700
committerMichaël Zasso <targos@protonmail.com>2016-09-22 09:55:40 +0200
commit19c9567686781b6cfd4d8b3908182d0df09c0d95 (patch)
treec831f3652a3301572cb18cd3582675c30fc4e1f3 /configure
parent2187bd3b4a3430880ec1c2b99e4eff57f27afd89 (diff)
downloadandroid-node-v8-19c9567686781b6cfd4d8b3908182d0df09c0d95.tar.gz
android-node-v8-19c9567686781b6cfd4d8b3908182d0df09c0d95.tar.bz2
android-node-v8-19c9567686781b6cfd4d8b3908182d0df09c0d95.zip
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-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 42dac5ff64..9b4fa94521 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)