mirror of
https://github.com/reactos/CMake.git
synced 2025-02-12 23:19:13 +00:00
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:
parent
36b7fc7db6
commit
efc90eed77
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user