VS: Fix support for '/guard:cf' linker flag

Original header commit v3.9.0-rc6~12^2

Although `$(VCTargetsPath)/1033/link.xml` for v140 and v141 toolsets
contains an entry for `LinkControlFlowGuard`, it does not work when used
in a `.vcxproj` file.  Drop our link flag table entries for these
toolsets so that the flag will be passed via `AdditionalOptions`.
This commit is contained in:
Stephan Szabo 2018-11-21 13:25:15 -08:00
parent f77320c12a
commit 57a78b5526
2 changed files with 0 additions and 14 deletions

View File

@ -539,13 +539,6 @@
"value": "SystemDlls",
"flags": []
},
{
"name": "LinkControlFlowGuard",
"switch": "guard:cf",
"comment": "Enable Security Check with Guard",
"value": "Guard",
"flags": []
},
{
"name": "LinkIncremental",
"switch": "INCREMENTAL:NO",

View File

@ -546,13 +546,6 @@
"value": "SystemDlls",
"flags": []
},
{
"name": "LinkControlFlowGuard",
"switch": "guard:cf",
"comment": "Enable Security Check with Guard",
"value": "Guard",
"flags": []
},
{
"name": "LinkIncremental",
"switch": "INCREMENTAL:NO",