Mercurial > hgrepos > Python > libs > ConfigMix
changeset 578:1b02659ece9c
Use optimizations -O2 when cross-compiling the extension
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 09 Jan 2022 00:28:15 +0100 |
| parents | 3ad416265652 |
| children | 854593461592 |
| files | windows-dev/Configure.py |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/windows-dev/Configure.py Sun Jan 09 00:20:51 2022 +0100 +++ b/windows-dev/Configure.py Sun Jan 09 00:28:15 2022 +0100 @@ -299,6 +299,7 @@ if tool.clang: ccflags.append("-fms-compatibility-version=16.00") + ccflags.append("-O2") ccwarnings.append("-Wno-nonportable-include-path") ccwarnings.append("-Wno-microsoft-template")
