aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-12 13:44:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-12 13:44:22 +0200
commitf978bc2417574ddc6bf70aef6a85d33387106307 (patch)
treefcfaa938fc3a7ce520d43b7e66d94bca978d6ae3
parent2a7477ee35c7244402cb39e3746d2d796d4e4569 (diff)
Remove explicit /Oi MSVC option that's implied by /O2
-rw-r--r--BOOTSTRAP-MSVC.cli4
-rw-r--r--UPGRADE.cli8
-rw-r--r--build-msvc.bat2
3 files changed, 7 insertions, 7 deletions
diff --git a/BOOTSTRAP-MSVC.cli b/BOOTSTRAP-MSVC.cli
index 873947f..75af7d0 100644
--- a/BOOTSTRAP-MSVC.cli
+++ b/BOOTSTRAP-MSVC.cli
@@ -127,7 +127,7 @@ the \c{configure} and \c{install} command lines above along these lines:
\
> build2\build2\b-boot configure ^
config.cxx=cl ^
- \"config.cc.coptions=/O2 /Oi\" ^
+ config.cc.coptions=/O2 ^
config.install.root=C:\build2
> build2\build2\b-boot install: build2/ bpkg/ bdep/
@@ -150,7 +150,7 @@ previous step and you may want/need to make similar adjustments.
> bpkg-stage create ^
cc ^
config.cxx=cl ^
- \"config.cc.coptions=/O2 /Oi\" ^
+ config.cc.coptions=/O2 ^
config.install.root=C:\build2
\
diff --git a/UPGRADE.cli b/UPGRADE.cli
index 6730e6d..92f46ef 100644
--- a/UPGRADE.cli
+++ b/UPGRADE.cli
@@ -177,10 +177,10 @@ config.install.sudo=sudo
For Windows with MSVC (from the Visual Studio command prompt):
\
-> bpkg-stage create ^
- cc ^
- config.cxx=cl ^
- \"config.cc.coptions=/O2 /Oi\" ^
+> bpkg-stage create ^
+ cc ^
+ config.cxx=cl ^
+ config.cc.coptions=/O2 ^
config.install.root=C:\build2
\
diff --git a/build-msvc.bat b/build-msvc.bat
index 778dbb0..9487de6 100644
--- a/build-msvc.bat
+++ b/build-msvc.bat
@@ -249,7 +249,7 @@ cd %cdir%
bpkg-stage %verbose% create^
cc^
config.cxx=%cxx%^
- "config.cc.coptions=/O2 /Oi"^
+ config.cc.coptions=/O2^
config.install.root=%idir%
@if errorlevel 1 goto error