aboutsummaryrefslogtreecommitdiff
path: root/build-mingw.bat.in
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-02-22 11:39:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-02-22 11:39:00 +0200
commitc19039787d39c33342daa503acac45b9d8c1f2ba (patch)
treeec8225d0dd0714f0856f7149a5bfd64079c932a3 /build-mingw.bat.in
parent059dcbf442e70e8c46b3388b937db2e264cfa120 (diff)
Reduce MinGW toolchain build optimization level to -O2
Maybe this will help with flaky crashes/hangs.
Diffstat (limited to 'build-mingw.bat.in')
-rw-r--r--build-mingw.bat.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-mingw.bat.in b/build-mingw.bat.in
index b9f5b0f..446bfc9 100644
--- a/build-mingw.bat.in
+++ b/build-mingw.bat.in
@@ -383,7 +383,7 @@ cd ..
build2\build2\b-boot %verbose% configure^
config.cxx=%cxx%^
- config.cc.coptions=-O3^
+ config.cc.coptions=-O2^
config.bin.lib=shared^
config.install.root=%idir%
@if errorlevel 1 goto error
@@ -503,7 +503,7 @@ cd %cdir%
bpkg-stage %verbose% create^
cc^
config.cxx=%cxx%^
- config.cc.coptions=-O3^
+ config.cc.coptions=-O2^
config.bin.lib=shared^
config.install.root=%idir%
@if errorlevel 1 goto error