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

View File

@ -1,5 +1,7 @@
# $FreeBSD$ # $FreeBSD$
.include <src.opts.mk>
.PATH: ${SRCTOP}/contrib/tzcode/zic .PATH: ${SRCTOP}/contrib/tzcode/zic
PROG= zic PROG= zic
@ -13,4 +15,8 @@ CFLAGS+= -I${.CURDIR:H} -I${SRCTOP}/contrib/tzcode/stdtime
WARNS?= 2 WARNS?= 2
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 50300
CWARNFLAGS+= -Wno-error=strict-overflow
.endif
.include <bsd.prog.mk> .include <bsd.prog.mk>