about summary refs log tree commit diff
path: root/math/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-08-20 18:00:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-08-20 18:00:09 +0000
commit772e741ba5afede4892078102a620e30aeac0c87 (patch)
tree5fa404fdb6f5af83ff3b4d8c5dbf064912e94f92 /math/Makefile
parent9173e3c0b4455a9cc675318554591247543fb640 (diff)
downloadglibc-772e741ba5afede4892078102a620e30aeac0c87.tar.gz
glibc-772e741ba5afede4892078102a620e30aeac0c87.tar.xz
glibc-772e741ba5afede4892078102a620e30aeac0c87.zip
Don't use -Wno-uninitialized in math/.
The uninitialized variable warnings in math/ having been fixed for all
the supported floating-point formats, this patch removes the use of
-Wno-uninitialized there, continuing with the goal of avoiding -Wno-
options in makefiles as far as possible..

Tested for x86_64 and x86 (full build and testsuite runs), and for
powerpc and mips64 (verified that glibc builds without errors).

	* math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
Diffstat (limited to 'math/Makefile')
-rw-r--r--math/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/math/Makefile b/math/Makefile
index d3b483d8a9..c98c3c4d94 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -249,9 +249,6 @@ ifneq ($(long-double-fcts),yes)
 math-CPPFLAGS += -DNO_LONG_DOUBLE -D_Mlong_double_=double
 endif
 
-# The fdlibm code generates a lot of these warnings but is otherwise clean.
-override CFLAGS += -Wno-uninitialized
-
 # The -lieee library is actually an object file.
 # The module just defines the _LIB_VERSION_ variable.
 # It's not a library to make sure it is linked in instead of s_lib_version.o.