Commit efc90eed authored by Stephan Szabo's avatar Stephan Szabo

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.
parent 36b7fc7d
......@@ -111,13 +111,6 @@
"value": "Disabled",
"flags": []
},
{
"name": "Optimization",
"switch": "Os",
"comment": "Minimize Size",
"value": "MinSize",
"flags": []
},
{
"name": "Optimization",
"switch": "O1",
......
......@@ -132,13 +132,6 @@
"value": "Disabled",
"flags": []
},
{
"name": "Optimization",
"switch": "Os",
"comment": "Minimize Size",
"value": "MinSize",
"flags": []
},
{
"name": "Optimization",
"switch": "O1",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment