build: make --without-snapshot imply --without-node-snapshot
PR-URL: https://github.com/nodejs/node/pull/29294 Fixes: https://github.com/nodejs/node/issues/29243 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
bfa2683eb6
commit
f96f9fbe31
@ -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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user