Source-Changes-HG archive

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

[src/trunk]: src/share/mk Back to always using just the list of sources for t...



details:   https://anonhg.NetBSD.org/src/rev/f2943712f26a
branches:  trunk
changeset: 833756:f2943712f26a
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 10 23:25:27 2018 +0000

description:
Back to always using just the list of sources for the hash. Hopefully this
is reproducible now.

diffstat:

 share/mk/sys.mk |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r cdbdc2bdd653 -r f2943712f26a share/mk/sys.mk
--- a/share/mk/sys.mk   Tue Jul 10 22:52:38 2018 +0000
+++ b/share/mk/sys.mk   Tue Jul 10 23:25:27 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sys.mk,v 1.135 2018/07/10 16:53:16 christos Exp $
+#      $NetBSD: sys.mk,v 1.136 2018/07/10 23:25:27 christos Exp $
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 #
 # This file contains the basic rules for make(1) and is read first
@@ -54,10 +54,6 @@
 # Remove -Wsystem-headers because C++ headers aren't clean of warnings
 CXXFLAGS?=     
${CFLAGS:N-Wno-traditional:N-Wstrict-prototypes:N-Wmissing-prototypes:N-Wno-pointer-sign:N-ffreestanding:N-std=gnu[0-9][0-9]:N-Wold-style-definition:N-Wno-format-zero-length:N-Wsystem-headers}
 
-.if defined(MKREPRO_TIMESTAMP) && !empty(MKREPRO_TIMESTAMP)
-# Use the timestamp as a seed
-__INITSEED=${MKREPRO_TIMESTAMP}
-.else
 # Use the sources, as the seed... Normalize all paths...
 __ALLSRC1=     ${empty(DESTDIR):?${.ALLSRC}:${.ALLSRC:S|^${DESTDIR}|^destdir|}}
 __ALLSRC2=     ${empty(MAKEOBJDIR):?${__ALLSRC1}:${__ALLSRC1:S|^${MAKEOBJDIR}|^obj|}}
@@ -65,7 +61,6 @@
 __ALLSRC4=     ${empty(X11SRCDIR):?${__ALLSRC3}:${__ALLSRC3:S|^${X11SRCDIR}|^xsrc|}}
 # Skip paths that contain relative components and can't be normalized, sort..
 __INITSEED=    ${__ALLSRC4:N*/../*:O}
-.endif
 
 __BUILDSEED=   ${BUILDSEED}/${__INITSEED}/${.TARGET}
 _CXXSEED?=     ${BUILDSEED:D-frandom-seed=${__BUILDSEED:hash}}



Home | Main Index | Thread Index | Old Index