Skip to content

Commit 19c9567

Browse files
ofrobotstargos
authored andcommitted
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: nodejs#8317 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 2187bd3 commit 19c9567

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure

+2
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ def configure_node(o):
760760
want_snapshots = not options.without_snapshot
761761
o['variables']['want_separate_host_toolset'] = int(
762762
cross_compiling and want_snapshots)
763+
o['variables']['want_separate_host_toolset_mkpeephole'] = int(
764+
cross_compiling)
763765

764766
if target_arch == 'arm':
765767
configure_arm(o)

0 commit comments

Comments
 (0)