diff options
author | Inada Naoki <songofacandy@gmail.com> | 2021-02-12 09:06:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 09:06:47 +0900 |
commit | fedd86df2448370cdf62a229fd6f31dc92daf379 (patch) | |
tree | 28e868704f5d04ba4f8220531167cdba6a558355 | |
parent | bpo-40956: Fix segfault when Connection.backup is called without target (GH-2... (diff) | |
download | cpython-fedd86df2448370cdf62a229fd6f31dc92daf379.tar.gz cpython-fedd86df2448370cdf62a229fd6f31dc92daf379.tar.bz2 cpython-fedd86df2448370cdf62a229fd6f31dc92daf379.zip |
bpo-43174: Windows: Use /utf-8 compiler option. (GH-24498)
-rw-r--r-- | Misc/NEWS.d/next/Build/2021-02-10-14-11-53.bpo-43174.F9zwXQ.rst | 1 | ||||
-rw-r--r-- | PCbuild/pyproject.props | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2021-02-10-14-11-53.bpo-43174.F9zwXQ.rst b/Misc/NEWS.d/next/Build/2021-02-10-14-11-53.bpo-43174.F9zwXQ.rst new file mode 100644 index 00000000000..64c80188d02 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2021-02-10-14-11-53.bpo-43174.F9zwXQ.rst @@ -0,0 +1 @@ +Windows build now uses ``/utf-8`` compiler option. diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index d7762ca1bc6..98e5ab03032 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -46,6 +46,7 @@ <WholeProgramOptimization>true</WholeProgramOptimization> <InlineFunctionExpansion Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">OnlyExplicitInline</InlineFunctionExpansion> <InlineFunctionExpansion Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">OnlyExplicitInline</InlineFunctionExpansion> + <AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ClCompile Condition="$(Configuration) == 'Debug'"> <Optimization>Disabled</Optimization> |