Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/crash stack protector issue on sparc



details:   https://anonhg.NetBSD.org/src/rev/8925c21c074c
branches:  trunk
changeset: 822837:8925c21c074c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 09 20:34:00 2017 +0000

description:
stack protector issue on sparc

diffstat:

 usr.sbin/crash/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 517052383b15 -r 8925c21c074c usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile   Sun Apr 09 19:02:23 2017 +0000
+++ b/usr.sbin/crash/Makefile   Sun Apr 09 20:34:00 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.33 2016/12/23 10:19:57 mrg Exp $
+#      $NetBSD: Makefile,v 1.34 2017/04/09 20:34:00 christos Exp $
 
 PROG=          crash
 MAN=           crash.8
@@ -97,7 +97,12 @@
 
 .endif                         # }
 
+COPTS.kern_timeout.c += -Wno-stack-protector
+
+.if  ${MACHINE} == "sparc" ||
+    ${MACHINE} == "sparc64" ||
 .include "../../compat/exec.mk"
+.endif
 
 .include <bsd.prog.mk>
 .include <bsd.klinks.mk>



Home | Main Index | Thread Index | Old Index