about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2023-07-24 14:22:27 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-08-01 15:35:25 -0300
commit78ceef25d64efeeb6067d1cb282a00466e637e2a (patch)
tree948918a0414d8baed3cf5be843b7770808a1b50f /Makeconfig
parentbd154cdb9e7d2c9ddd2e204c49899c43eeed486f (diff)
downloadglibc-78ceef25d64efeeb6067d1cb282a00466e637e2a.tar.gz
glibc-78ceef25d64efeeb6067d1cb282a00466e637e2a.tar.xz
glibc-78ceef25d64efeeb6067d1cb282a00466e637e2a.zip
configure: Remove --enable-all-warnings option
The option is not activelly tested and has bitrotten, to fix it
would require a lot of work and multiple fixes.  A better option
would to evaluate each option and enable the warning if it makes
sense.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makeconfig b/Makeconfig
index 77d7fd14df..c4dd9ea8f2 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -857,12 +857,7 @@ host-test-program-cmd = $(host-built-program-cmd)
 endif
 
 # Extra flags to pass to GCC.
-ifeq ($(all-warnings),yes)
-+gccwarn := -Wall -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wcomment -Wcomments -Wtrigraphs -Wsign-compare -Wfloat-equal -Wmultichar
-else
-+gccwarn := -Wall -Wwrite-strings
-endif
-+gccwarn += -Wundef
+gccwarn := -Wall -Wwrite-strings -Wundef
 ifeq ($(enable-werror),yes)
 +gccwarn += -Werror
 endif