From 92ac7e80da030d1dd468a5024bfc4d27ecf5dbd3 Mon Sep 17 00:00:00 2001 From: Ryan Libby Date: Mon, 4 Sep 2017 18:59:44 +0000 Subject: [PATCH] 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 --- lib/libefivar/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libefivar/Makefile b/lib/libefivar/Makefile index d7f7898e8446..b4368ce9e97c 100644 --- a/lib/libefivar/Makefile +++ b/lib/libefivar/Makefile @@ -64,4 +64,4 @@ WARNS?= 9 .include -CFLAGS+= -Wno-cast-align -Wno-unused-parameter +CFLAGS+= -fno-strict-aliasing -Wno-cast-align -Wno-unused-parameter