Add COPTS for xhci.c, since the do_command_locked causes a spurious stack

proector warning.
This commit is contained in:
christos 2017-01-08 05:02:08 +00:00
parent 50603fe4db
commit 65ce4b4f2f

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.kern.inc,v 1.253 2017/01/04 21:37:46 christos Exp $
# $NetBSD: Makefile.kern.inc,v 1.254 2017/01/08 05:02:08 christos Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@ -118,6 +118,9 @@ COPTS.${j}+=-g
#
COPTS.debugsyms.c+= -g
# XXX: Gcc bug?
COPTS.xhci.c+= -Wno-stack-protector
# Add CTF sections for DTrace
.if defined(CTFCONVERT)
COMPILE_CTFCONVERT= ${_MKSHECHO}\