mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
Use /guard:cf during both compile and link parts of the build on Windows
Thanks jack-teng1 for info.
This commit is contained in:
committed by
Samuel Attard
parent
81398c1fde
commit
40bf582c81
@@ -251,7 +251,7 @@
|
||||
# perform FPO regardless, so we must explicitly disable.
|
||||
# We still want the false setting above to avoid having
|
||||
# "/Oy /Oy-" and warnings about overriding.
|
||||
'AdditionalOptions': ['/Oy-', '/d2guard4'],
|
||||
'AdditionalOptions': ['/Oy-', '/guard:cf'],
|
||||
},
|
||||
'VCLibrarianTool': {
|
||||
'LinkTimeCodeGeneration': 'true', # /LTCG
|
||||
|
||||
Reference in New Issue
Block a user