summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-24 17:54:58 +0000
committerdim <dim@FreeBSD.org>2011-12-24 17:54:58 +0000
commitbaa0d2b3d7f2876e9553f6d135a773a8faa22547 (patch)
tree43ff68b8ad378cacb8c4422a653a0754bd07e158
parentcda3cff67fd0cc09335cea933337f09f3c47f603 (diff)
downloadFreeBSD-src-baa0d2b3d7f2876e9553f6d135a773a8faa22547.zip
FreeBSD-src-baa0d2b3d7f2876e9553f6d135a773a8faa22547.tar.gz
Amend r228781 by also disabling -Warray-bounds warnings for the asr
module. MFC after: 1 week
-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 5873415..c225b25 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}}
OpenPOWER on IntegriCloud