summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-02-12 00:06:47 (GMT)
committerGitHub <noreply@github.com>2021-02-12 00:06:47 (GMT)
commitfedd86df2448370cdf62a229fd6f31dc92daf379 (patch)
tree28e868704f5d04ba4f8220531167cdba6a558355 /PCbuild
parentea46579067fd2d4e164d6605719ffec690c4d621 (diff)
downloadcpython-fedd86df2448370cdf62a229fd6f31dc92daf379.zip
cpython-fedd86df2448370cdf62a229fd6f31dc92daf379.tar.gz
cpython-fedd86df2448370cdf62a229fd6f31dc92daf379.tar.bz2
bpo-43174: Windows: Use /utf-8 compiler option. (GH-24498)
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pyproject.props1
1 files changed, 1 insertions, 0 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index d7762ca..98e5ab0 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>