|
507 | 507 |
|
508 | 508 | parser.add_option('--without-snapshot',
|
509 | 509 | action='store_true',
|
510 |
| - dest='without_snapshot', |
| 510 | + dest='unused_without_snapshot', |
511 | 511 | help=optparse.SUPPRESS_HELP)
|
512 | 512 |
|
513 | 513 | parser.add_option('--without-siphash',
|
@@ -967,13 +967,13 @@ def configure_node(o):
|
967 | 967 | cross_compiling = (options.cross_compiling
|
968 | 968 | if options.cross_compiling is not None
|
969 | 969 | else target_arch != host_arch)
|
970 |
| - want_snapshots = not options.without_snapshot |
971 |
| - o['variables']['want_separate_host_toolset'] = int( |
972 |
| - cross_compiling and want_snapshots) |
| 970 | + if options.unused_without_snapshot: |
| 971 | + warn('building --without-snapshot is no longer possible') |
| 972 | + |
| 973 | + o['variables']['want_separate_host_toolset'] = int(cross_compiling) |
973 | 974 |
|
974 | 975 | if not options.without_node_snapshot:
|
975 |
| - o['variables']['node_use_node_snapshot'] = b( |
976 |
| - not cross_compiling and want_snapshots) |
| 976 | + o['variables']['node_use_node_snapshot'] = b(not cross_compiling) |
977 | 977 | else:
|
978 | 978 | o['variables']['node_use_node_snapshot'] = 'false'
|
979 | 979 |
|
@@ -1177,7 +1177,6 @@ def configure_v8(o):
|
1177 | 1177 | o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables.
|
1178 | 1178 | o['variables']['v8_promise_internal_field_count'] = 1 # Add internal field to promises for async hooks.
|
1179 | 1179 | o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1
|
1180 |
| - o['variables']['v8_use_snapshot'] = 0 if options.without_snapshot else 1 |
1181 | 1180 | o['variables']['v8_trace_maps'] = 1 if options.trace_maps else 0
|
1182 | 1181 | o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform)
|
1183 | 1182 | o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8)
|
|
0 commit comments