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:
rlibby 2017-09-14 03:39:42 +00:00
parent 906e83affb
commit 65f1b3b4e1

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>