aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/zic
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2017-09-14 03:39:42 +0000
committerRyan Libby <rlibby@FreeBSD.org>2017-09-14 03:39:42 +0000
commit6a6b7210d730a68ec6b36624d363336e2b250295 (patch)
treebd0b2e07254d1cc9190dc3654ecea5142319e8cb /usr.sbin/zic
parentd37aa3ccce3cf530585a3ae07398d85f48bdef8c (diff)
downloadsrc-6a6b7210d730a68ec6b36624d363336e2b250295.tar.gz
src-6a6b7210d730a68ec6b36624d363336e2b250295.zip
Notes
Diffstat (limited to 'usr.sbin/zic')
-rw-r--r--usr.sbin/zic/zic/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/zic/zic/Makefile b/usr.sbin/zic/zic/Makefile
index 9702c4c4b30f..36cc79009b45 100644
--- a/usr.sbin/zic/zic/Makefile
+++ b/usr.sbin/zic/zic/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
.PATH: ${SRCTOP}/contrib/tzcode/zic
PROG= zic
@@ -13,4 +15,8 @@ CFLAGS+= -I${.CURDIR:H} -I${SRCTOP}/contrib/tzcode/stdtime
WARNS?= 2
+.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 50300
+CWARNFLAGS+= -Wno-error=strict-overflow
+.endif
+
.include <bsd.prog.mk>