Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2017 18:59:45 +0000 (UTC)
From:      Ryan Libby <rlibby@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323155 - head/lib/libefivar
Message-ID:  <201709041859.v84Ixjxe018613@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rlibby
Date: Mon Sep  4 18:59:44 2017
New Revision: 323155
URL: https://svnweb.freebsd.org/changeset/base/323155

Log:
  libefivar: -fno-strict-aliasing
  
  Avoid dealing with some code that uses type-punned pointers.
  
  See D12210 and D12211 for more background.
  
  Reviewed by:	imp
  Approved by:	markj (mentor)
  Sponsored by:	Dell EMC Isilon
  Differential Revision:	https://reviews.freebsd.org/D12219

Modified:
  head/lib/libefivar/Makefile

Modified: head/lib/libefivar/Makefile
==============================================================================
--- head/lib/libefivar/Makefile	Mon Sep  4 10:08:42 2017	(r323154)
+++ head/lib/libefivar/Makefile	Mon Sep  4 18:59:44 2017	(r323155)
@@ -64,4 +64,4 @@ WARNS?=		9
 
 .include <bsd.lib.mk>
 
-CFLAGS+= -Wno-cast-align -Wno-unused-parameter
+CFLAGS+= -fno-strict-aliasing -Wno-cast-align -Wno-unused-parameter



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