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 311311 '/Zm2000' ,
312312 ],
313313 }],
314- ['cfg =="true"' , {
314+ ['control_flow_guard =="true"' , {
315315 'AdditionalOptions' : [
316316 '/guard:cf' , # Control Flow Guard
317317 ],
342342 ['target_arch=="arm64"' , {
343343 'TargetMachine' : 0 , # NotSet. MACHINE:ARM64 is inferred from the input files.
344344 }],
345- ['cfg =="true"' , {
345+ ['control_flow_guard =="true"' , {
346346 'AdditionalOptions' : [
347347 '/guard:cf' , # Control Flow Guard
348348 ],
Original file line number Diff line number Diff line change @@ -1449,7 +1449,7 @@ def configure_node(o):
14491449 o ['variables' ]['node_prefix' ] = options .prefix
14501450 o ['variables' ]['node_install_npm' ] = b (not options .without_npm )
14511451 o ['variables' ]['node_install_corepack' ] = b (not options .without_corepack )
1452- o ['variables' ]['cfg ' ] = b (options .enable_cfg )
1452+ o ['variables' ]['control_flow_guard ' ] = b (options .enable_cfg )
14531453 o ['variables' ]['node_use_amaro' ] = b (not options .without_amaro )
14541454 o ['variables' ]['debug_node' ] = b (options .debug_node )
14551455 o ['default_configuration' ] = 'Debug' if options .debug else 'Release'
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ if defined no_shared_roheap set configure_flags=%configure_flags% --disable-shar
212212if defined DEBUG_HELPER set configure_flags = %configure_flags% --verbose
213213if defined ccache_path set configure_flags = %configure_flags% --use-ccache-win
214214if defined compile_commands set configure_flags = %configure_flags% -C
215- if defined cfg set configure_flags = %configure_flags% --cfg
215+ if defined cfg set configure_flags = %configure_flags% --control-flow-guard
216216
217217if " %target_arch% " == " x86" (
218218 echo " 32-bit Windows builds are not supported anymore."
You can’t perform that action at this time.
0 commit comments