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 reproducible builds



details:   https://anonhg.NetBSD.org/src/rev/f18608621953
branches:  trunk
changeset: 319192:f18608621953
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 20 03:09:02 2018 +0000

description:
Fix reproducible builds
XXX: pullup-8

diffstat:

 usr.sbin/crash/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 0b65ae079439 -r f18608621953 usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile   Sat May 19 22:57:54 2018 +0000
+++ b/usr.sbin/crash/Makefile   Sun May 20 03:09:02 2018 +0000
@@ -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 @@
 
 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                          # } {



Home | Main Index | Thread Index | Old Index