Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2010 10:52:08 +0300
From:      Nikolay Denev <ndenev@gmail.com>
To:        Alexander Leidinger <netchild@freebsd.org>
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
Message-ID:  <C4A16F60-D034-48AB-9F83-42E2C113F776@gmail.com>
In-Reply-To: <201004020655.o326tWax079882@svn.freebsd.org>
References:  <201004020655.o326tWax079882@svn.freebsd.org>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C4A16F60-D034-48AB-9F83-42E2C113F776>