aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/asr
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-24 17:54:58 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-24 17:54:58 +0000
commit6512fa7aec85ab7be41d4d7b02cde588655543bf (patch)
tree43ff68b8ad378cacb8c4422a653a0754bd07e158 /sys/modules/asr
parent824be4a0735693972c907fe7c1abdc8ee4ad3e56 (diff)
downloadsrc-6512fa7aec85ab7be41d4d7b02cde588655543bf.tar.gz
src-6512fa7aec85ab7be41d4d7b02cde588655543bf.zip
Amend r228781 by also disabling -Warray-bounds warnings for the asr
module. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=228865
Diffstat (limited to 'sys/modules/asr')
-rw-r--r--sys/modules/asr/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/asr/Makefile b/sys/modules/asr/Makefile
index 5873415d0286..c225b25e1bc7 100644
--- a/sys/modules/asr/Makefile
+++ b/sys/modules/asr/Makefile
@@ -12,3 +12,6 @@ SRCS+= opt_asr.h
.endif
.include <bsd.kmod.mk>
+
+CWARNFLAGS.asr.c= ${NO_WARRAY_BOUNDS}
+CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}