File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 310
310
'/Zm2000' ,
311
311
],
312
312
}],
313
- ['cfg =="true"' , {
313
+ ['control_flow_guard =="true"' , {
314
314
'AdditionalOptions' : [
315
315
'/guard:cf' , # Control Flow Guard
316
316
],
341
341
['target_arch=="arm64"' , {
342
342
'TargetMachine' : 0 , # NotSet. MACHINE:ARM64 is inferred from the input files.
343
343
}],
344
- ['cfg =="true"' , {
344
+ ['control_flow_guard =="true"' , {
345
345
'AdditionalOptions' : [
346
346
'/guard:cf' , # Control Flow Guard
347
347
],
Original file line number Diff line number Diff line change @@ -1400,7 +1400,7 @@ def configure_node(o):
1400
1400
o ['variables' ]['node_prefix' ] = options .prefix
1401
1401
o ['variables' ]['node_install_npm' ] = b (not options .without_npm )
1402
1402
o ['variables' ]['node_install_corepack' ] = b (not options .without_corepack )
1403
- o ['variables' ]['cfg ' ] = b (options .enable_cfg )
1403
+ o ['variables' ]['control_flow_guard ' ] = b (options .enable_cfg )
1404
1404
o ['variables' ]['node_use_amaro' ] = b (not options .without_amaro )
1405
1405
o ['variables' ]['debug_node' ] = b (options .debug_node )
1406
1406
o ['default_configuration' ] = 'Debug' if options .debug else 'Release'
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ if defined openssl_no_asm set configure_flags=%configure_flags% --openssl-no-a
209
209
if defined no_shared_roheap set configure_flags = %configure_flags% --disable-shared-readonly-heap
210
210
if defined DEBUG_HELPER set configure_flags = %configure_flags% --verbose
211
211
if defined compile_commands set configure_flags = %configure_flags% -C
212
- if defined cfg set configure_flags = %configure_flags% --cfg
212
+ if defined cfg set configure_flags = %configure_flags% --control-flow-guard
213
213
214
214
if " %target_arch% " == " x86" (
215
215
echo " 32-bit Windows builds are not supported anymore."
You can’t perform that action at this time.
0 commit comments