# HG changeset patch # User Franz Glasner # Date 1641686306 -3600 # Node ID 48e79cbd24811f4bcd5a1ab9ce980f35b4873990 # Parent 85459346159248c16029d22a5c50376347359eb8 Employ compiler optimizations for pure MSVC builds also. This is currently just the the record. diff -r 854593461592 -r 48e79cbd2481 windows-dev/Configure.py --- 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")