Module Name: src
Committed By: christos
Date: Sun Jan 8 05:02:08 UTC 2017
Modified Files:
src/sys/conf: Makefile.kern.inc
Log Message:
Add COPTS for xhci.c, since the do_command_locked causes a spurious stack
proector warning.
To generate a diff of this commit:
cvs rdiff -u -r1.253 -r1.254 src/sys/conf/Makefile.kern.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.253 src/sys/conf/Makefile.kern.inc:1.254
--- src/sys/conf/Makefile.kern.inc:1.253 Wed Jan 4 16:37:46 2017
+++ src/sys/conf/Makefile.kern.inc Sun Jan 8 00:02:08 2017
@@ -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}\