Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Compute the build seed using :hash.
details: https://anonhg.NetBSD.org/src/rev/d96ab19f668b
branches: trunk
changeset: 763917:d96ab19f668b
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Apr 07 01:40:32 2011 +0000
description:
Compute the build seed using :hash.
diffstat:
share/mk/sys.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r e930f0350432 -r d96ab19f668b share/mk/sys.mk
--- a/share/mk/sys.mk Thu Apr 07 01:40:01 2011 +0000
+++ b/share/mk/sys.mk Thu Apr 07 01:40:32 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.104 2011/01/21 15:59:04 joerg Exp $
+# $NetBSD: sys.mk,v 1.105 2011/04/07 01:40:32 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run NetBSD.
@@ -71,8 +71,8 @@
__ALLSRC1= ${empty(DESTDIR):?${.ALLSRC}:${.ALLSRC:S|^${DESTDIR}|^destdir|}}
__ALLSRC2= ${empty(MAKEOBJDIR):?${__ALLSRC1}:${__ALLSRC1:S|^${MAKEOBJDIR}|^obj|}}
__ALLSRC3= ${empty(NETBSDSRCDIR):?${__ALLSRC2}:${__ALLSRC2:S|^${NETBSDSRCDIR}|^src|}}
-
-_CXXSEED?= ${BUILDSEED:D-frandom-seed=${BUILDSEED:Q}/${__ALLSRC3:O:Q}/${.TARGET:Q}}
+__BUILDSEED= ${BUILDSEED}/${__ALLSRC3:O}/${.TARGET}
+_CXXSEED?= ${BUILDSEED:D-frandom-seed=${__BUILDSEED:hash}}
COMPILE.cc?= ${CXX} ${_CXXSEED} ${CXXFLAGS} ${CPPFLAGS} -c
LINK.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
Home |
Main Index |
Thread Index |
Old Index