summaryrefslogtreecommitdiff
path: root/timezone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'timezone/Makefile')
-rw-r--r--timezone/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index 6c7a7d4f4d..c03a68962c 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -73,8 +73,10 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
# The -Wno-unused-variable flag is used to prevent GCC 6
# from warning about time_t_min and time_t_max which are
# defined in private.h but not used.
+# -Wno-discarded-qualifiers is because zic is not prepared for C23
+# -qualifier-generic strchr.
CFLAGS-zdump.c += $(tz-cflags)
-CFLAGS-zic.c += $(tz-cflags) -Wno-unused-variable
+CFLAGS-zic.c += $(tz-cflags) -Wno-unused-variable -Wno-discarded-qualifiers
# 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