Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk don't try to build .debug files for shell scripts.
details: https://anonhg.NetBSD.org/src/rev/f4aa1436c7fa
branches: trunk
changeset: 358074:f4aa1436c7fa
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 10 15:11:47 2017 +0000
description:
don't try to build .debug files for shell scripts.
diffstat:
share/mk/bsd.prog.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r ff2e5312701c -r f4aa1436c7fa share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Sun Dec 10 14:29:47 2017 +0000
+++ b/share/mk/bsd.prog.mk Sun Dec 10 15:11:47 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.308 2017/10/10 19:29:44 christos Exp $
+# $NetBSD: bsd.prog.mk,v 1.309 2017/12/10 15:11:47 christos Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -431,7 +431,8 @@
BINDIR.${_P}?= ${BINDIR}
PROGNAME.${_P}?= ${_P}
-.if ${MKDEBUG:Uno} != "no" && !defined(NODEBUG) && !commands(${_P})
+.if ${MKDEBUG:Uno} != "no" && !defined(NODEBUG) && !commands(${_P}) && \
+ !empty(OBJS.${_P})
_PROGDEBUG.${_P}:= ${PROGNAME.${_P}}.debug
.endif
Home |
Main Index |
Thread Index |
Old Index