about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--timezone/Makefile9
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 92f438c245..c5e70b17ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
 
+	* timezone/Makefile (CFLAGS-zdump.c): Remove
+	-Wno-strict-prototypes.
+	(CFLAGS-zic.c): Likewise.
+	(CFLAGS-ialloc.c): Likewise.
+	(CFLAGS-scheck.c): Likewise.
+
 	* Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
 	-Wno-error=undef.
 
diff --git a/timezone/Makefile b/timezone/Makefile
index d2abdec4aa..81d4a3e0b5 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -61,11 +61,10 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
 	    -DTZDEFRULES='"$(posixrules-file)"' \
 	    -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone
 
-CFLAGS-zdump.c = -fwrapv -Wno-strict-prototypes -DNOID $(tz-cflags) \
-		 -DHAVE_GETTEXT
-CFLAGS-zic.c = -Wno-strict-prototypes -DNOID $(tz-cflags) -DHAVE_GETTEXT
-CFLAGS-ialloc.c = -Wno-strict-prototypes -DNOID -DHAVE_GETTEXT
-CFLAGS-scheck.c = -Wno-strict-prototypes -DNOID -DHAVE_GETTEXT
+CFLAGS-zdump.c = -fwrapv -DNOID $(tz-cflags) -DHAVE_GETTEXT
+CFLAGS-zic.c = -DNOID $(tz-cflags) -DHAVE_GETTEXT
+CFLAGS-ialloc.c = -DNOID -DHAVE_GETTEXT
+CFLAGS-scheck.c = -DNOID -DHAVE_GETTEXT
 
 # We have to make sure the data for testing the tz functions is available.
 # Don't add leapseconds here since test-tz made checks that work only without