aboutsummaryrefslogtreecommitdiff
path: root/build-mingw.bat.in
diff options
context:
space:
mode:
Diffstat (limited to 'build-mingw.bat.in')
-rw-r--r--build-mingw.bat.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/build-mingw.bat.in b/build-mingw.bat.in
index caff834..8982f84 100644
--- a/build-mingw.bat.in
+++ b/build-mingw.bat.in
@@ -448,6 +448,9 @@ set "BDEP_DEF_OPT=0"
@rem Bootstrap.
@rem
+@rem Note: disable all warnings since we cannot do anything more granular
+@rem during bootstrap stage 1.
+@rem
cd build2
@if "_%make%_" == "__" (
@@ -459,12 +462,12 @@ cd build2
:batchfile
@rem Execute in a separate cmd.exe to preserve the echo mode.
@rem
-cmd /C bootstrap-mingw.bat %cxx% -static
+cmd /C bootstrap-mingw.bat %cxx% -w -static
@if errorlevel 1 goto error
@goto endfile
:makefile
-%make% -f bootstrap.gmake CXX=%cxx% LDFLAGS=-static
+%make% -f bootstrap.gmake CXX=%cxx% CXXFLAGS=-w LDFLAGS=-static
@if errorlevel 1 goto error
@goto endfile