aboutsummaryrefslogtreecommitdiff
path: root/build.sh.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.sh.in
parentf5be99eb78afe8da70287083384f9c122f5d8644 (diff)
Disable all warnings during bootstrap stage 1
Diffstat (limited to 'build.sh.in')
-rw-r--r--build.sh.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.sh.in b/build.sh.in
index f9279b7..43c648a 100644
--- a/build.sh.in
+++ b/build.sh.in
@@ -601,11 +601,14 @@ export BDEP_DEF_OPT
# Bootstrap, stage 1.
#
+# Note: disable all warnings since we cannot do anything more granular during
+# bootstrap stage 1.
+#
run cd build2
if test -z "$make"; then
- run ./bootstrap.sh "$cxx"
+ run ./bootstrap.sh "$cxx" -w
else
- run $make -f ./bootstrap.gmake "CXX=$cxx"
+ run $make -f ./bootstrap.gmake "CXX=$cxx" CXXFLAGS=-w
fi
run build2/b-boot --version