summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-02-12 04:33:35 (GMT)
committerGitHub <noreply@github.com>2021-02-12 04:33:35 (GMT)
commit68d6bc798b34eccabdfbf94e563273759c4cef1f (patch)
tree6bcc20d0a72152005e5f65b5d4e41cc69501c22c /PCbuild
parent917eca700aa341f8544ace43b75d41b477e98b72 (diff)
downloadcpython-68d6bc798b34eccabdfbf94e563273759c4cef1f.zip
cpython-68d6bc798b34eccabdfbf94e563273759c4cef1f.tar.gz
cpython-68d6bc798b34eccabdfbf94e563273759c4cef1f.tar.bz2
bpo-43174: Windows: Use /utf-8 compiler option. (GH-24498)
(cherry picked from commit fedd86df2448370cdf62a229fd6f31dc92daf379) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
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>