aboutsummaryrefslogtreecommitdiff
path: root/bootstrap-mingw.bat
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap-mingw.bat')
-rw-r--r--bootstrap-mingw.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap-mingw.bat b/bootstrap-mingw.bat
index df7e677..5638659 100644
--- a/bootstrap-mingw.bat
+++ b/bootstrap-mingw.bat
@@ -83,7 +83,7 @@ rem
rem Note that for as long as we support GCC 4.9 we have to compile in the
rem C++14 mode since 4.9 doesn't recognize c++1z.
rem
-set "ops=-std=c++1y"
+set "ops=-finput-charset=UTF-8 -std=c++1y"
:ops_next
shift
if "_%1_" == "__" (
@@ -107,7 +107,7 @@ for %%d in (%src%) do (
)
echo on
-%cxx% -I%libbutl% -I. -DBUILD2_BOOTSTRAP -DBUILD2_HOST_TRIPLET=\"x86_64-w64-mingw32\" %ops% -o build2\b-boot.exe %r% -limagehlp
+%cxx% -I%libbutl% -I. -DBUILD2_BOOTSTRAP -DBUILD2_HOST_TRIPLET=\"x86_64-w64-mingw32\" %ops% -o build2\b-boot.exe %r% -pthread -limagehlp
@echo off
if errorlevel 1 goto error