aboutsummaryrefslogtreecommitdiff
path: root/BOOTSTRAP-WINDOWS-CLANG.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-18 10:20:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-18 10:20:59 +0200
commit7e58023f748a486effe834ad99ab7db20f200045 (patch)
treea737e2d35f6fa91353e69d15874500f8386e3de0 /BOOTSTRAP-WINDOWS-CLANG.cli
parentb131f2e5263c8395ae491b68ce93317265bc24af (diff)
Lower optimization level for Clang targeting MSVC to -O2
See Clang bug #45021 for details.
Diffstat (limited to 'BOOTSTRAP-WINDOWS-CLANG.cli')
-rw-r--r--BOOTSTRAP-WINDOWS-CLANG.cli4
1 files changed, 2 insertions, 2 deletions
diff --git a/BOOTSTRAP-WINDOWS-CLANG.cli b/BOOTSTRAP-WINDOWS-CLANG.cli
index f35c212..507b9ce 100644
--- a/BOOTSTRAP-WINDOWS-CLANG.cli
+++ b/BOOTSTRAP-WINDOWS-CLANG.cli
@@ -154,7 +154,7 @@ also a note on the following step about only building shared libraries):
\
> build2\build2\b-boot configure ^
config.cxx=clang++ ^
- \"config.cc.coptions=-m64 -O3\" ^
+ \"config.cc.coptions=-m64 -O2\" ^
config.bin.lib=shared ^
config.install.root=C:\build2
@@ -187,7 +187,7 @@ previous step and you may want/need to make similar adjustments.
> bpkg-stage create ^
cc ^
config.cxx=clang++ ^
- \"config.cc.coptions=-m64 -O3\" ^
+ \"config.cc.coptions=-m64 -O2\" ^
config.bin.lib=shared ^
config.install.root=C:\build2
\