diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2023-07-24 14:22:27 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-08-01 15:35:25 -0300 |
commit | 78ceef25d64efeeb6067d1cb282a00466e637e2a (patch) | |
tree | 948918a0414d8baed3cf5be843b7770808a1b50f /Makeconfig | |
parent | bd154cdb9e7d2c9ddd2e204c49899c43eeed486f (diff) | |
download | glibc-78ceef25d64efeeb6067d1cb282a00466e637e2a.zip glibc-78ceef25d64efeeb6067d1cb282a00466e637e2a.tar.gz glibc-78ceef25d64efeeb6067d1cb282a00466e637e2a.tar.bz2 |
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-- | Makeconfig | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 |