Fix reproducible builds

XXX: pullup-8
This commit is contained in:
christos 2018-05-20 03:09:02 +00:00
parent 5aae56c5be
commit 8841d3f7b9

View File

@ -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 # } {