Module Name:    src
Committed By:   christos
Date:           Mon Apr 10 12:05:52 UTC 2017

Modified Files:
        src/usr.sbin/crash: Makefile

Log Message:
Protect the right part.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/crash/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/crash/Makefile
diff -u src/usr.sbin/crash/Makefile:1.35 src/usr.sbin/crash/Makefile:1.36
--- src/usr.sbin/crash/Makefile:1.35	Sun Apr  9 17:57:59 2017
+++ src/usr.sbin/crash/Makefile	Mon Apr 10 08:05:52 2017
@@ -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 @@ SRCS+=	unsupported.c
 
 .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>

Reply via email to