zic: -Wno-error=strict-overflow

Reviewed by:	emaste
Sponsored by:	Dell EMC Isilon
X-Differential Revision:	https://reviews.freebsd.org/D12284
This commit is contained in:
Ryan Libby 2017-09-14 03:39:42 +00:00
parent d37aa3ccce
commit 6a6b7210d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323572

View file

@ -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>