svn commit: r304877 - head/share/mk
Baptiste Daroussin
bapt at FreeBSD.org
Sat Aug 27 01:28:01 UTC 2016
Author: bapt
Date: Sat Aug 27 01:28:00 2016
New Revision: 304877
URL: https://svnweb.freebsd.org/changeset/base/304877
Log:
Remove warning on struct-overflow on gcc 5.3.0 as zic(8) dies on it
Modified:
head/share/mk/bsd.sys.mk
Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk Sat Aug 27 00:58:21 2016 (r304876)
+++ head/share/mk/bsd.sys.mk Sat Aug 27 01:28:00 2016 (r304877)
@@ -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 \
More information about the svn-src-head
mailing list