diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2020-08-04 18:24:46 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2020-08-04 18:24:46 +0000 |
| commit | 776b260ae2ec0e4b9ad241541dd5f6d4dba1a0bd (patch) | |
| tree | 2c9722436d8df3eec79d87299cca888b82e5bac4 /share/mk | |
| parent | ec71044958e62e7fc4ea85932beeb12b56b3b98a (diff) | |
Notes
Diffstat (limited to 'share/mk')
| -rw-r--r-- | share/mk/bsd.sys.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index afa374f68bca..3aa6c7e938e4 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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. |
