Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 21:13:35 +0000 (UTC)
From:      "George V. Neville-Neil" <gnn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r187191 - in stable/7/sys: . conf
Message-ID:  <200901132113.n0DLDZad016179@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901132113.n0DLDZad016179>