summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-20 22:13:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-20 22:13:20 +0000
commit6cc7d725dba86400bff212376b63624172e4090d (patch)
tree8cb2622f608b7243db3075ad7e86b82f8bf9662d /Makeconfig
parent595538976b5d13ea0bcff73e05a9b6fd6cddaee5 (diff)
downloadglibc-6cc7d725dba86400bff212376b63624172e4090d.tar.gz
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--Makeconfig4
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.