aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
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.sh
parent54c56af1067df562c232cb73b9a1b85f67d9bbf1 (diff)
Use UTF-8 as default input/source charset for C/C++ compilation
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 14e52cf..9bd13b4 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -147,4 +147,4 @@ done
# mode since 4.9 doesn't recognize c++1z.
#
set -x
-"$cxx" "-I$libbutl" -I. -DBUILD2_BOOTSTRAP '-DBUILD2_HOST_TRIPLET="'"$host"'"' -std=c++1y "$@" -o build2/b-boot $r -lpthread
+"$cxx" "-I$libbutl" -I. -DBUILD2_BOOTSTRAP '-DBUILD2_HOST_TRIPLET="'"$host"'"' -finput-charset=UTF-8 -std=c++1y "$@" -o build2/b-boot $r -lpthread