svn commit: r187191 - in stable/7/sys: . conf

George V. Neville-Neil gnn at FreeBSD.org
Tue Jan 13 13:13:37 PST 2009


Author: gnn
Date: Tue Jan 13 21:13:35 2009
New Revision: 187191
URL: http://svn.freebsd.org/changeset/base/187191

Log:
  MFC of code to fix debug builds with CTF/DTrace
  
  Fix CTF based builds to that if the debug build is being used we get
  debug symbols.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/conf/kern.pre.mk

Modified: stable/7/sys/conf/kern.pre.mk
==============================================================================
--- stable/7/sys/conf/kern.pre.mk	Tue Jan 13 21:08:43 2009	(r187190)
+++ stable/7/sys/conf/kern.pre.mk	Tue Jan 13 21:13:35 2009	(r187191)
@@ -26,6 +26,7 @@ COPTFLAGS?=	-O
 .else
 . if defined(DEBUG)
 _MINUS_O=	-O
+CTFFLAGS+=	-g
 . else
 _MINUS_O=	-O2
 . endif


More information about the svn-src-stable mailing list