Skip to content

Commit

Permalink
build: make --without-snapshot imply --without-node-snapshot
Browse files Browse the repository at this point in the history
PR-URL: #29294
Fixes: #29243
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
joyeecheung authored and BridgeAR committed Sep 4, 2019
1 parent def5c3e commit 6a914ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,8 @@ def configure_node(o):
cross_compiling and want_snapshots)

if not options.without_node_snapshot:
o['variables']['node_use_node_snapshot'] = b(not cross_compiling)
o['variables']['node_use_node_snapshot'] = b(
not cross_compiling and want_snapshots)
else:
o['variables']['node_use_node_snapshot'] = 'false'

Expand Down

0 comments on commit 6a914ed

Please sign in to comment.