From owner-svn-src-head@FreeBSD.ORG Fri Apr 2 07:52:15 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 478BB1065673; Fri, 2 Apr 2010 07:52:15 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-fx0-f209.google.com (mail-fx0-f209.google.com [209.85.220.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7255A8FC14; Fri, 2 Apr 2010 07:52:13 +0000 (UTC) Received: by fxm1 with SMTP id 1so1291032fxm.13 for ; Fri, 02 Apr 2010 00:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=+j98N9MwjY3nz1iK2oAYRcIkQyPC3uFGwV5XfKCkT7M=; b=CCx6L/AMaDzvXM751mj1ZWzM6+9WPj3D49EgP7D3OOuHSjbCmiwTrCeHGkpuvNDR2X tfTI1cxsb1MHYwuv/brI3kZEAsszXr3AnYqNRiYGn72YW36Pig8wiV0GaAdHd85S/yIH yweyo3MuBsDobNaDYvx7sMjbi8WGgd0cVGBLI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=iXPEMbBu9bM+aKszZKHbHhjw1L6L9qCGElJU4UDHrV3+X0JxhV27uBLfyEP9Cg/2Gh LZlvBTn6/Y23zH0DZ9UCjKMNevJGvh9iYWACsLXJlXvYgt++OlQmaCc11JP3mKsuVij9 UgCHFNMKHsv+ggCVjH56iVrCO98eiloR62Txg= Received: by 10.223.101.80 with SMTP id b16mr1680144fao.25.1270194732196; Fri, 02 Apr 2010 00:52:12 -0700 (PDT) Received: from mbp-gige.totalterror.net (93-152-151-19.ddns.onlinedirect.bg [93.152.151.19]) by mx.google.com with ESMTPS id 19sm19490275fkr.39.2010.04.02.00.52.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Apr 2010 00:52:10 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Nikolay Denev In-Reply-To: <201004020655.o326tWax079882@svn.freebsd.org> Date: Fri, 2 Apr 2010 10:52:08 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201004020655.o326tWax079882@svn.freebsd.org> To: Alexander Leidinger X-Mailer: Apple Mail (2.1078) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r206082 - in head: . share/man/man7 share/mk sys/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 07:52:15 -0000 On 2 Apr, 2010, at 09:55 , Alexander Leidinger wrote: > Author: netchild > Date: Fri Apr 2 06:55:31 2010 > New Revision: 206082 > URL: http://svn.freebsd.org/changeset/base/206082 >=20 > Log: > WITH_CTF can now be specified in src.conf (not recommended, there > are some problems with static executables), make.conf (would also > affect ports which do not use GNU make and do not override the > compile targets) or in the kernel config (via "makeoptions > WITH_CTF=3Dyes"). >=20 > Additional (related) changes: > - propagate WITH_CTF to module builds > - do not add -g to the linker flags, it's a noop there anyway > (at least according to the man page of ld) > - do not add -g to CFLAGS unconditionally > we need to have a look if it is really needed (IMO not) or if = there > is a way to add it only when WITH_CTF is used >=20 > Note: ctfconvert / ctfmerge lines will not appear in the build = output, > to protect the innocent (those which do not build with WITH_CTF would > see the shell-test and may think WITH_CTF is used). >=20 > Reviewed by: imp, jhb, scottl (earlier version) > Discussed on: arch@ >=20 > Modified: > head/UPDATING > head/share/man/man7/build.7 > head/share/mk/bsd.lib.mk > head/share/mk/bsd.port.mk > head/share/mk/bsd.prog.mk > head/share/mk/sys.mk > head/sys/conf/kern.mk > head/sys/conf/kern.post.mk > head/sys/conf/kern.pre.mk > head/sys/conf/kmod.mk >=20 Finally! Thanks for this. I got tired of rebuilding kernels after = accidentally forgetting to put WITH_CTF on the make command line. :) I hope that this can also be MFC-ed to 8-STABLE at least. Regards, Niki=