VS: Fix regressed mapping for the cl /Os compiler flag

Original header commit v3.6.0-rc3~8^2

In commit v3.6.0-rc1~279^2~10 (VS: in Clang/C2 toolset, setup correct
compiler settings, 2016-02-18) a flag mapping was added for the clang
`-Os` flag.  However, this collides with a mapping we already had for
the MSVC flag of the same name.  This is a symptom of a larger problem
in that the VS generators need a per-toolset flag map (issue #16153).

For now, simply drop the new mapping and drop `-Os` from clang compiler
flags in the MinSizeRel configuration.
This commit is contained in:
Stephan Szabo 2018-11-26 09:11:27 -08:00
parent 36b7fc7db6
commit efc90eed77
2 changed files with 0 additions and 14 deletions

View File

@ -111,13 +111,6 @@
"value": "Disabled",
"flags": []
},
{
"name": "Optimization",
"switch": "Os",
"comment": "Minimize Size",
"value": "MinSize",
"flags": []
},
{
"name": "Optimization",
"switch": "O1",

View File

@ -132,13 +132,6 @@
"value": "Disabled",
"flags": []
},
{
"name": "Optimization",
"switch": "Os",
"comment": "Minimize Size",
"value": "MinSize",
"flags": []
},
{
"name": "Optimization",
"switch": "O1",