Mercurial > hgrepos > Python > libs > ConfigMix
changeset 580:48e79cbd2481
Employ compiler optimizations for pure MSVC builds also.
This is currently just the the record.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 09 Jan 2022 00:58:26 +0100 |
| parents | 854593461592 |
| children | 9ba0217a5e67 |
| files | windows-dev/Configure.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/windows-dev/Configure.py Sun Jan 09 00:41:08 2022 +0100 +++ b/windows-dev/Configure.py Sun Jan 09 00:58:26 2022 +0100 @@ -278,6 +278,7 @@ ccflags.append("/MD") # link to dll runtime #ccflags.append("/EHsc") # no C++ here ccflags.append("/Gy") # enable function level linking + ccflags.append("/O2") # XXX TBD machine if tool.clang: @@ -299,7 +300,6 @@ if tool.clang: ccflags.append("-fms-compatibility-version=16.00") - ccflags.append("-O2") ccwarnings.append("-Wno-nonportable-include-path") ccwarnings.append("-Wno-microsoft-template")
