Skip to content
  • Stephan Szabo's avatar
    VS: Fix regressed mapping for the cl `/Os` compiler flag · efc90eed
    Stephan Szabo authored
    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.
    efc90eed