Module Name:    src
Committed By:   christos
Date:           Sun Apr  9 20:34:00 UTC 2017

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

Log Message:
stack protector issue on sparc


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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.33 src/usr.sbin/crash/Makefile:1.34
--- src/usr.sbin/crash/Makefile:1.33	Fri Dec 23 05:19:57 2016
+++ src/usr.sbin/crash/Makefile	Sun Apr  9 16:34:00 2017
@@ -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 @@ SRCS+=	unsupported.c
 
 .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>

Reply via email to