diff options
author | rlibby <rlibby@FreeBSD.org> | 2017-09-18 20:01:16 +0000 |
---|---|---|
committer | rlibby <rlibby@FreeBSD.org> | 2017-09-18 20:01:16 +0000 |
commit | 49d62c9c3f8b1e28c73db29d40ff6c72ae8437c3 (patch) | |
tree | 90fa7ceda957fb2ca1a84597a8f4561834e27be3 /usr.sbin | |
parent | 965681ee8a6f96f83f326547fb469a144b02cdbe (diff) | |
download | FreeBSD-src-49d62c9c3f8b1e28c73db29d40ff6c72ae8437c3.zip FreeBSD-src-49d62c9c3f8b1e28c73db29d40ff6c72ae8437c3.tar.gz |
MFC r323572:
zic: -Wno-error=strict-overflow
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/zic/zic/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/zic/zic/Makefile b/usr.sbin/zic/zic/Makefile index 9702c4c..36cc790 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> |