Add a GCC 8.1 warning flag.

This is required to build ATF.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Ruslan Bukin 2018-07-18 11:31:15 +00:00
parent cc28ae0479
commit c26e80e1f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336455

View File

@ -158,6 +158,7 @@ CWARNFLAGS+= -Wno-error=bool-operation \
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 80100
CWARNFLAGS+= -Wno-error=aggressive-loop-optimizations \
-Wno-error=cast-function-type \
-Wno-error=catch-value \
-Wno-error=multistatement-macros \
-Wno-error=restrict \
-Wno-error=sizeof-pointer-memaccess \