Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk When extracting separate debug symbols with MKDEBUG...
details: https://anonhg.NetBSD.org/src/rev/f3704dd1dbb7
branches: trunk
changeset: 754233:f3704dd1dbb7
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Apr 24 07:57:04 2010 +0000
description:
When extracting separate debug symbols with MKDEBUG, there's no need
to leave the original file unstripped...
diffstat:
share/mk/bsd.prog.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7dbe1b3f9e38 -r f3704dd1dbb7 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Sat Apr 24 06:57:10 2010 +0000
+++ b/share/mk/bsd.prog.mk Sat Apr 24 07:57:04 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.247 2010/03/02 20:49:18 darran Exp $
+# $NetBSD: bsd.prog.mk,v 1.248 2010/04/24 07:57:04 lukem Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -324,7 +324,7 @@
${_PROGDEBUG.${_P}}: ${_P}
${_MKTARGET_CREATE}
${OBJCOPY} --only-keep-debug ${_P} ${_PROGDEBUG.${_P}}
- ${OBJCOPY} -R .gnu_debuglink --add-gnu-debuglink=${_PROGDEBUG.${_P}} ${_P} \
+ ${OBJCOPY} --strip-debug -R .gnu_debuglink --add-gnu-debuglink=${_PROGDEBUG.${_P}} ${_P} \
|| rm -f ${_PROGDEBUG.${_P}}
.endif
Home |
Main Index |
Thread Index |
Old Index