aboutsummaryrefslogtreecommitdiff
path: root/bootstrap-clang.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-01-17 10:45:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-01-17 10:45:06 +0200
commitef6a70de5d0bc252380ebcb21eb84913473ead5d (patch)
treebb27438ea5a0afa69f6db5a9b55b367972dec63e /bootstrap-clang.bat
parent54c56af1067df562c232cb73b9a1b85f67d9bbf1 (diff)
Use UTF-8 as default input/source charset for C/C++ compilation
Diffstat (limited to 'bootstrap-clang.bat')
-rw-r--r--bootstrap-clang.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap-clang.bat b/bootstrap-clang.bat
index 00302e9..5a06a70 100644
--- a/bootstrap-clang.bat
+++ b/bootstrap-clang.bat
@@ -88,7 +88,7 @@ rem worked around by passing an obscure internal option. Clang 9 doesn't
rem have this problem. To keep things simple, let's just suppress this
rem warning.
rem
-set "ops=-m64 -std=c++1y -D_MT -D_CRT_SECURE_NO_WARNINGS -Xlinker /ignore:4217"
+set "ops=-finput-charset=UTF-8 -m64 -std=c++1y -D_MT -D_CRT_SECURE_NO_WARNINGS -Xlinker /ignore:4217"
:ops_next
shift
if "_%1_" == "__" (