Disable errors for -Wsystem-headers for GCC on aarch64.
GCC's own arm_neon.h triggers multiple warnings on both GCC 6 and GCC 9. Differential Revision: https://reviews.freebsd.org/D25729
This commit is contained in:
parent
ec71044958
commit
776b260ae2
@ -184,6 +184,11 @@ CWARNFLAGS+= -Wno-error=aggressive-loop-optimizations \
|
||||
-Wno-error=sizeof-pointer-memaccess \
|
||||
-Wno-error=stringop-truncation
|
||||
.endif
|
||||
|
||||
# GCC's own arm_neon.h triggers various warnings
|
||||
.if ${MACHINE_ARCH} == "aarch64"
|
||||
CWARNFLAGS+= -Wno-system-headers
|
||||
.endif
|
||||
.endif # gcc
|
||||
|
||||
# How to handle FreeBSD custom printf format specifiers.
|
||||
|
Loading…
Reference in New Issue
Block a user