svn commit: r323155 - head/lib/libefivar

Ryan Libby rlibby at FreeBSD.org
Mon Sep 4 18:59:46 UTC 2017


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


More information about the svn-src-all mailing list