From 36546ffbef5d4f5ea0f5d5c8e3fe5a5c9a34ea47 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 18 Sep 2015 22:02:32 +0000 Subject: Revert timezone/Makefile change. This change breaks the build with all released versions of GCC. * timezone/Makefile: Revert previous change. --- timezone/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'timezone') 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 -- cgit v1.2.3