Module Name:    src
Committed By:   christos
Date:           Sun May 20 03:09:02 UTC 2018

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

Log Message:
Fix reproducible builds
XXX: pullup-8


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 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.39 src/usr.sbin/crash/Makefile:1.40
--- src/usr.sbin/crash/Makefile:1.39	Sun Mar  4 02:15:37 2018
+++ src/usr.sbin/crash/Makefile	Sat May 19 23:09:02 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.39 2018/03/04 07:15:37 mlelstv Exp $
+#	$NetBSD: Makefile,v 1.40 2018/05/20 03:09:02 christos Exp $
 
 PROG=		crash
 MAN=		crash.8
@@ -84,10 +84,18 @@ SRCS+=	generic.c
 
 COPTS.db_output.c += -Wno-format-nonliteral
 
+.if ${MKREPRO} == "yes"
+.       if ${MKREPRO_TIMESTAMP:U0} != 0
+NVFLAGS+=-r ${MKREPRO_TIMESTAMP}
+.       else
+NVFLAGS+=-R
+.       endif
+.endif
+
 # vers.c
 SRCS+=	vers.c
 vers.c:	${S}/conf/newvers.sh ${_NETBSD_VERSION_DEPENDS}
-	${HOST_SH} ${S}/conf/newvers.sh -r -n
+	${HOST_SH} ${S}/conf/newvers.sh ${NVFLAGS} -n -m ${MACHINE} -i CRASH
 CLEANFILES+=	vers.c version
 
 .else				# } {

Reply via email to