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
This commit is contained in:
Ryan Libby 2017-09-04 18:59:44 +00:00
parent 45ff071d6e
commit 92ac7e80da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323155

View File

@ -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