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:
rlibby 2017-09-04 18:59:44 +00:00
parent d97f829cdb
commit da1419e8f5

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