Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/crash Protect the right part.



details:   https://anonhg.NetBSD.org/src/rev/d103435057f7
branches:  trunk
changeset: 352596:d103435057f7
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 10 12:05:52 2017 +0000

description:
Protect the right part.

diffstat:

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

diffs (25 lines):

diff -r da85d8ae629a -r d103435057f7 usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile   Mon Apr 10 02:59:35 2017 +0000
+++ b/usr.sbin/crash/Makefile   Mon Apr 10 12:05:52 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.35 2017/04/09 21:57:59 christos Exp $
+#      $NetBSD: Makefile,v 1.36 2017/04/10 12:05:52 christos Exp $
 
 PROG=          crash
 MAN=           crash.8
@@ -97,12 +97,12 @@
 
 .endif                         # }
 
+.if  ${MACHINE} == "sparc" \
+    || ${MACHINE} == "sparc64"
 COPTS.kern_timeout.c += -Wno-stack-protector
+.endif
 
-.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