Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2018 18:25:07 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333257 - head/sys/conf
Message-ID:  <201805041825.w44IP7w7064347@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805041825.w44IP7w7064347>