aboutsummaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-08-04 18:24:46 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-08-04 18:24:46 +0000
commit776b260ae2ec0e4b9ad241541dd5f6d4dba1a0bd (patch)
tree2c9722436d8df3eec79d87299cca888b82e5bac4 /share/mk
parentec71044958e62e7fc4ea85932beeb12b56b3b98a (diff)
Notes
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.sys.mk5
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.