Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf Add COPTS for xhci.c, since the do_command_locked c...



details:   https://anonhg.NetBSD.org/src/rev/fa6c39e497a0
branches:  trunk
changeset: 350235:fa6c39e497a0
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 08 05:02:08 2017 +0000

description:
Add COPTS for xhci.c, since the do_command_locked causes a spurious stack
proector warning.

diffstat:

 sys/conf/Makefile.kern.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5e1812eef8f1 -r fa6c39e497a0 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Sun Jan 08 04:27:36 2017 +0000
+++ b/sys/conf/Makefile.kern.inc        Sun Jan 08 05:02:08 2017 +0000
@@ -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.debugsyms.c+=    -g
 
+# XXX: Gcc bug?
+COPTS.xhci.c+= -Wno-stack-protector
+
 # Add CTF sections for DTrace
 .if defined(CTFCONVERT)
 COMPILE_CTFCONVERT=    ${_MKSHECHO}\



Home | Main Index | Thread Index | Old Index