summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/conf/compilers/gnu_compiler.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/conf/compilers/gnu_compiler.conf b/build/conf/compilers/gnu_compiler.conf
index 2de1678d8dd..4b21e7722b2 100644
--- a/build/conf/compilers/gnu_compiler.conf
+++ b/build/conf/compilers/gnu_compiler.conf
@@ -88,7 +88,7 @@ when ($NO_WSHADOW == "yes") {
#
# Use -Wno-everything to force warning suppression.
when ($NO_COMPILER_WARNINGS == "yes") {
- C_WARNING_OPTS = -w
+ C_WARNING_OPTS = -Wno-everything
CXX_WARNING_OPTS = -Wno-everything
}
when ($NO_OPTIMIZE == "yes") {