diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-11-20 22:13:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-11-20 22:13:20 +0000 |
commit | 6cc7d725dba86400bff212376b63624172e4090d (patch) | |
tree | 8cb2622f608b7243db3075ad7e86b82f8bf9662d /Makeconfig | |
parent | 595538976b5d13ea0bcff73e05a9b6fd6cddaee5 (diff) | |
download | glibc-6cc7d725dba86400bff212376b63624172e4090d.tar glibc-6cc7d725dba86400bff212376b63624172e4090d.tar.gz glibc-6cc7d725dba86400bff212376b63624172e4090d.tar.bz2 glibc-6cc7d725dba86400bff212376b63624172e4090d.zip |
Update.
2000-11-20 Ulrich Drepper <drepper@redhat.com>
* configure.in: Add --enable-all-warnings.
* config.make.in (all-warnings): New variable.
* Makeconfig (+gccwarn): Define with many more warnings if
all-warnings is yes.
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig index b706e9a5ad..b47ccda686 100644 --- a/Makeconfig +++ b/Makeconfig @@ -515,7 +515,11 @@ RANLIB = ranlib endif # Extra flags to pass to GCC. +ifeq ($(all-warnings),yes) ++gccwarn := -Wall -Wwrite-strings -Winline -Wstrict-prototypes -Wcast-qual -Wbad-function-cast -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wcomment -Wcomments -Wtrigraphs -Wsign-compare -Wfloat-equal -Wmultichar +else +gccwarn := -Wall -Wwrite-strings -Winline -Wstrict-prototypes +endif # This is the program that generates makefile # dependencies from C source files. |