mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
libefivar: Add note about extra compiler flags
Add a note about why we need these extra compiler flags to suppress warnings. EDK2 upstream code is being used verbatim and as of the last update these issuse persist, but are benign. Sponsored by: Netflix Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D38613
This commit is contained in:
parent
04a5e6d7ca
commit
942815c548
|
@ -64,9 +64,10 @@ WARNS?= 9
|
|||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# We use UEFI parsing and formatting code from upstream EDK2 project.
|
||||
# They still have issues that require us to susppress some warnings.
|
||||
CWARNFLAGS+= -Wno-cast-align
|
||||
CWARNFLAGS+= -Wno-unused-parameter
|
||||
|
||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 130000
|
||||
CWARNFLAGS+= -Wno-unused-but-set-variable
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue