diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-08-27 01:28:00 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-08-27 01:28:00 +0000 |
| commit | f05ca6f33bf8f78891d96ff9656b09d537656c2d (patch) | |
| tree | 45e53c9e2a4607c84ca43210b1ec9a388a218a04 | |
| parent | b24852c2b38d6a3846f3032c135dae849b1b254b (diff) | |
Notes
| -rw-r--r-- | share/mk/bsd.sys.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 11794b3291401..e94977c43cfb2 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -128,6 +128,11 @@ CWARNFLAGS+= -Wno-error=address \ -Wno-error=unused-value .endif +# GCC 5.3.0 +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 50300 +CWARNFLAGS+= -Wno-error=strict-overflow +.endif + # GCC 6.1.0 .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 CWARNFLAGS+= -Wno-error=misleading-indentation \ |
