Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/crash Fix build for sparc64



details:   https://anonhg.NetBSD.org/src/rev/a8c184115288
branches:  trunk
changeset: 777404:a8c184115288
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Feb 17 12:24:13 2012 +0000

description:
Fix build for sparc64

diffstat:

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

diffs (21 lines):

diff -r e6a7e1a9d4b0 -r a8c184115288 usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile   Fri Feb 17 12:16:17 2012 +0000
+++ b/usr.sbin/crash/Makefile   Fri Feb 17 12:24:13 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2012/02/16 20:36:13 christos Exp $
+#      $NetBSD: Makefile,v 1.19 2012/02/17 12:24:13 martin Exp $
 
 PROG=          crash
 MAN=           crash.8
@@ -18,7 +18,11 @@
     || (${MACHINE_ARCH} == "arm" && ${MACHINE} != "acorn26") \
     || ${MACHINE_ARCH} == "m68k"
 SRCS+= db_trace.c
+.if ${MACHINE} == "sparc64"
+SRCS+= db_interface.c
+.else
 SRCS+= db_machdep.c
+.endif
 REALCRASH=yes
 .else
 REALCRASH=no



Home | Main Index | Thread Index | Old Index