Permalink
Browse files

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: #8317
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information...
ofrobots authored and jasnell committed Aug 25, 2016
1 parent 1a93e03 commit 94f68b5b97b20e19f9857024270495b052a7dcd9
Showing with 2 additions and 0 deletions.
  1. +2 −0 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)

0 comments on commit 94f68b5

Please sign in to comment.