aboutsummaryrefslogtreecommitdiff
path: root/BOOTSTRAP-WINDOWS-CLANG.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-23 10:04:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-23 10:04:21 +0200
commit19d5d451523823e05d44193ab3106c471d8ebc9d (patch)
tree473bbef02de3f2ce111dc3d3882c6c8a2649beb5 /BOOTSTRAP-WINDOWS-CLANG.cli
parentf28317cfa825b4e0cf6bfabb507e04e6397ad180 (diff)
Redo build-clang.bat to pass -m64 as compiler mode options
Diffstat (limited to 'BOOTSTRAP-WINDOWS-CLANG.cli')
-rw-r--r--BOOTSTRAP-WINDOWS-CLANG.cli18
1 files changed, 8 insertions, 10 deletions
diff --git a/BOOTSTRAP-WINDOWS-CLANG.cli b/BOOTSTRAP-WINDOWS-CLANG.cli
index b03773c..3429c5a 100644
--- a/BOOTSTRAP-WINDOWS-CLANG.cli
+++ b/BOOTSTRAP-WINDOWS-CLANG.cli
@@ -92,10 +92,9 @@ Then, we rebuild the build system with the result of Phase 1 linking libraries
statically.
\
-> build2\b-boot ^
- config.cxx=clang++ ^
- config.cc.coptions=-m64 ^
- config.bin.lib=static ^
+> build2\b-boot ^
+ \"config.cxx=clang++ -m64\" ^
+ config.bin.lib=static ^
build2\exe{b}
> move /y build2\b.exe build2\b-boot.exe
@@ -114,8 +113,7 @@ libraries and then staged:
> cd .. # Back to build2-toolchain-X.Y.Z\
> build2\build2\b-boot configure ^
- config.cxx=clang++ ^
- config.cc.coptions=-m64 ^
+ \"config.cxx=clang++ -m64\" ^
config.bin.lib=shared ^
config.bin.suffix=-stage ^
config.install.root=C:\build2 ^
@@ -160,8 +158,8 @@ prefix/suffix, etc):
\
> build2\build2\b-boot configure ^
config.config.hermetic=true ^
- config.cxx=clang++ ^
- \"config.cc.coptions=-m64 -O2\" ^
+ \"config.cxx=clang++ -m64\" ^
+ config.cc.coptions=-O2 ^
config.bin.lib=shared ^
config.install.root=C:\build2
@@ -206,8 +204,8 @@ previous step and you may want/need to make similar adjustments.
> bpkg-stage create ^
cc ^
config.config.hermetic=true ^
- config.cxx=clang++ ^
- \"config.cc.coptions=-m64 -O2\" ^
+ \"config.cxx=clang++ -m64\" ^
+ config.cc.coptions=-O2 ^
config.bin.lib=shared ^
config.install.root=C:\build2
\