Revert timezone/Makefile change.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 18 Sep 2015 22:02:32 +0000 (22:02 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 18 Sep 2015 22:02:32 +0000 (22:02 +0000)
This change breaks the build with all released versions of GCC.

* timezone/Makefile: Revert previous change.

ChangeLog
timezone/Makefile

index 4be1427..789a714 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
 
+       * timezone/Makefile: Revert previous change.
+
        [BZ #18980]
        * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
        (DEFINE_DBL_MIN): Likewise.
index afd9e88..bfb3463 100644 (file)
@@ -61,12 +61,10 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
            -DTZDEFRULES='"$(posixrules-file)"' \
            -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone
 
-CFLAGS-zdump.c = -fwrapv -DNOID $(tz-cflags) -DHAVE_GETTEXT \
-                -Wno-error=unused-const-variable
-CFLAGS-zic.c = -DNOID $(tz-cflags) -DHAVE_GETTEXT \
-              -Wno-error=unused-const-variable
-CFLAGS-ialloc.c = -DNOID -DHAVE_GETTEXT -Wno-error=unused-const-variable
-CFLAGS-scheck.c = -DNOID -DHAVE_GETTEXT -Wno-error=unused-const-variable
+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