Use /guard:cf during both compile and link parts of the build on Windows
Thanks jack-teng1 for info.
This commit is contained in:
parent
81398c1fde
commit
40bf582c81
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@
|
||||||
# perform FPO regardless, so we must explicitly disable.
|
# perform FPO regardless, so we must explicitly disable.
|
||||||
# We still want the false setting above to avoid having
|
# We still want the false setting above to avoid having
|
||||||
# "/Oy /Oy-" and warnings about overriding.
|
# "/Oy /Oy-" and warnings about overriding.
|
||||||
'AdditionalOptions': ['/Oy-', '/d2guard4'],
|
'AdditionalOptions': ['/Oy-', '/guard:cf'],
|
||||||
},
|
},
|
||||||
'VCLibrarianTool': {
|
'VCLibrarianTool': {
|
||||||
'LinkTimeCodeGeneration': 'true', # /LTCG
|
'LinkTimeCodeGeneration': 'true', # /LTCG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue