about summary refs log tree commit diff
path: root/timezone/Makefile
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-09-18 21:40:12 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2015-09-18 21:43:43 +0100
commit1344384b52829a4dcde51ec3a307c4b3d6a713fa (patch)
treeb37f977aaf87d64bfce4a16f00426d9f306dd351 /timezone/Makefile
parent94ced920a951bcab51f2ef955ccd2cc51668e6f3 (diff)
downloadglibc-1344384b52829a4dcde51ec3a307c4b3d6a713fa.tar.gz
glibc-1344384b52829a4dcde51ec3a307c4b3d6a713fa.tar.xz
glibc-1344384b52829a4dcde51ec3a307c4b3d6a713fa.zip
Undo build error fixes to timezone/private.h, change makefile instead to
ignore the errors.

2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>

        * timezone/Makefile: Ignore unused variable errors due to private.h
        (time_t_min) and (time_t_max).
        * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
        Likewise.
Diffstat (limited to 'timezone/Makefile')
-rw-r--r--timezone/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index bfb3463373..afd9e880b7 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -61,10 +61,12 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
 	    -DTZDEFRULES='"$(posixrules-file)"' \
 	    -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone
 
-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
+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
 
 # 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