aboutsummaryrefslogtreecommitdiff
path: root/build-clang.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-clang.bat.in
parentf5be99eb78afe8da70287083384f9c122f5d8644 (diff)
Disable all warnings during bootstrap stage 1
Diffstat (limited to 'build-clang.bat.in')
-rw-r--r--build-clang.bat.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/build-clang.bat.in b/build-clang.bat.in
index c983aae..f04fd1a 100644
--- a/build-clang.bat.in
+++ b/build-clang.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-clang.bat %cxx%
+cmd /C bootstrap-clang.bat %cxx% -m64 -w
@if errorlevel 1 goto error
@goto endfile
:makefile
-%make% -f bootstrap.gmake CXX=%cxx%
+%make% -f bootstrap.gmake CXX=%cxx% "CXXFLAGS=-m64 -w"
@if errorlevel 1 goto error
@goto endfile