Module Name:    src
Committed By:   lukem
Date:           Sat Apr 24 07:57:04 UTC 2010

Modified Files:
        src/share/mk: bsd.prog.mk

Log Message:
When extracting separate debug symbols with MKDEBUG, there's no need
to leave the original file unstripped...


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/share/mk/bsd.prog.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.prog.mk
diff -u src/share/mk/bsd.prog.mk:1.247 src/share/mk/bsd.prog.mk:1.248
--- src/share/mk/bsd.prog.mk:1.247	Tue Mar  2 20:49:18 2010
+++ src/share/mk/bsd.prog.mk	Sat Apr 24 07:57:04 2010
@@ -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
 

Reply via email to