aboutsummaryrefslogtreecommitdiff
path: root/mysql/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-25 17:12:37 (GMT)
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-25 18:15:00 (GMT)
commit743e0eebec9a1e7b2bf4ebd0ab4e190f5e587f2f (patch)
treeae70fa8ec2eba2e9ce6904fe55ab2225eed6dcc5 /mysql/buildfile
parentf23087e3394ecefa9959c77e08c6f6092b15887c (diff)
Disable all warnings for gcc-class compilers
Diffstat (limited to 'mysql/buildfile')
-rw-r--r--mysql/buildfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/mysql/buildfile b/mysql/buildfile
index 983f216..6e2ad5a 100644
--- a/mysql/buildfile
+++ b/mysql/buildfile
@@ -204,12 +204,13 @@ elif ($c.class == 'gcc')
#
cc.coptions += -fno-omit-frame-pointer -fno-strict-aliasing
- # Disable warnings that pop up with -Wall -Wextra. Upstream doesn't seem to
- # care about these and it is not easy to disable specific warnings in a way
- # that works across compilers/version (some -Wno-* options are only
- # recognized in newer versions).
+ # Disable all warnings. Upstream doesn't seem to care about these and it is
+ # not easy to disable specific warnings in a way that works across
+ # compilers/version (some -Wno-* options are only recognized in newer
+ # versions). Note that we tried -Wno-all -Wno-extra but that wasn't
+ # sufficient.
#
- cc.coptions += -Wno-all -Wno-extra
+ cc.coptions += -w
}
if ($tclass != 'windows')