aboutsummaryrefslogtreecommitdiff
path: root/build-mingw.bat.in
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-05 13:27:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-05 13:48:20 +0200
commit4d102f5d28e7f5406da3292a1f5f4f369dd05031 (patch)
treefc76c2f34dac65d363e8e8b3334db2202905856c /build-mingw.bat.in
parentf5be99eb78afe8da70287083384f9c122f5d8644 (diff)
Disable all warnings during bootstrap stage 1
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