summary refs log tree commit diff
path: root/timezone
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-09-18 22:02:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-09-18 22:02:32 +0000
commit36546ffbef5d4f5ea0f5d5c8e3fe5a5c9a34ea47 (patch)
tree92d3eea99dd54b27022ee176e8bdc338b7492280 /timezone
parent6f0f237bf5a3c8d29a6342cbf8b4c17b10aa1d4c (diff)
downloadglibc-36546ffbef5d4f5ea0f5d5c8e3fe5a5c9a34ea47.tar.gz
glibc-36546ffbef5d4f5ea0f5d5c8e3fe5a5c9a34ea47.tar.xz
glibc-36546ffbef5d4f5ea0f5d5c8e3fe5a5c9a34ea47.zip
Revert timezone/Makefile change.
This change breaks the build with all released versions of GCC.

	* timezone/Makefile: Revert previous change.
Diffstat (limited to 'timezone')
-rw-r--r--timezone/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index afd9e880b7..bfb3463373 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -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