Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Debug hack: print out full random-seed for C++ comp...
details: https://anonhg.NetBSD.org/src/rev/5d52452ab74f
branches: trunk
changeset: 324528:5d52452ab74f
user: martin <martin%NetBSD.org@localhost>
date: Mon Jul 09 09:22:55 2018 +0000
description:
Debug hack: print out full random-seed for C++ compile/link.
diffstat:
share/mk/sys.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 99b9295af57b -r 5d52452ab74f share/mk/sys.mk
--- a/share/mk/sys.mk Mon Jul 09 09:13:50 2018 +0000
+++ b/share/mk/sys.mk Mon Jul 09 09:22:55 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.133 2018/06/22 11:25:03 maya Exp $
+# $NetBSD: sys.mk,v 1.134 2018/07/09 09:22:55 martin Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
#
# This file contains the basic rules for make(1) and is read first
@@ -61,8 +61,8 @@
__BUILDSEED= ${BUILDSEED}/${__ALLSRC4:O}/${.TARGET}
_CXXSEED?= ${BUILDSEED:D-frandom-seed=${__BUILDSEED:hash}}
-COMPILE.cc?= ${CXX} ${_CXXSEED} ${CXXFLAGS} ${DTRACE_OPTS} ${CPPFLAGS} -c
-LINK.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
+COMPILE.cc?= echo "random-seed is ${__BUILDSEED}"; ${CXX} ${_CXXSEED} ${CXXFLAGS} ${DTRACE_OPTS} ${CPPFLAGS} -c
+LINK.cc?= echo "random-seed is ${__BUILDSEED}"; ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
OBJC?= ${CC}
OBJCFLAGS?= ${CFLAGS}
Home |
Main Index |
Thread Index |
Old Index