svn commit: r333257 - head/sys/conf
Matt Macy
mmacy at FreeBSD.org
Fri May 4 18:25:08 UTC 2018
Author: mmacy
Date: Fri May 4 18:25:07 2018
New Revision: 333257
URL: https://svnweb.freebsd.org/changeset/base/333257
Log:
fix gcc8 compile
Approved by: sbruno
Modified:
head/sys/conf/kern.mk
Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk Fri May 4 17:17:30 2018 (r333256)
+++ head/sys/conf/kern.mk Fri May 4 18:25:07 2018 (r333257)
@@ -65,6 +65,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
-Wno-error=shift-overflow \
-Wno-error=tautological-compare
.endif
+.if ${COMPILER_VERSION} >= 80000
+CWARNEXTRA+= -Wno-error=packed-not-aligned
+.endif
.else
# For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
CWARNEXTRA?= -Wno-uninitialized
More information about the svn-src-all
mailing list