From owner-svn-src-stable@FreeBSD.ORG Tue Jan 13 21:13:35 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6C561065687; Tue, 13 Jan 2009 21:13:35 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A3B7D8FC2D; Tue, 13 Jan 2009 21:13:35 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DLDZwl016180; Tue, 13 Jan 2009 21:13:35 GMT (envelope-from gnn@svn.freebsd.org) Received: (from gnn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0DLDZad016179; Tue, 13 Jan 2009 21:13:35 GMT (envelope-from gnn@svn.freebsd.org) Message-Id: <200901132113.n0DLDZad016179@svn.freebsd.org> From: "George V. Neville-Neil" Date: Tue, 13 Jan 2009 21:13:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187191 - in stable/7/sys: . conf X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 21:13:37 -0000 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