diff options
author | netchild <netchild@FreeBSD.org> | 2010-04-02 06:55:31 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2010-04-02 06:55:31 +0000 |
commit | e14ccde629ef57d3eb9b2e301b0789029e6ba32d (patch) | |
tree | a328b94a6cba383d7a03a4da5cb2becf2d12be03 /share/man/man7 | |
parent | 1edbfe1bf0f2aa5129e857b93c974d7b8b98d889 (diff) | |
download | FreeBSD-src-e14ccde629ef57d3eb9b2e301b0789029e6ba32d.zip FreeBSD-src-e14ccde629ef57d3eb9b2e301b0789029e6ba32d.tar.gz |
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=yes").
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
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).
Reviewed by: imp, jhb, scottl (earlier version)
Discussed on: arch@
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/build.7 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index 3015776..67a2445 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 31, 2010 +.Dd April 02, 2010 .Dt BUILD 7 .Os .Sh NAME @@ -341,6 +341,15 @@ or the command line. .It Va NO_WERROR If defined, compiler warnings will not cause the build to halt, even if the makefile says otherwise. +.It Va WITH_CTF +If defined, the build process will run the DTrace CTF conversion +tools on built objects. +Please note that this WITH_ option is handled differently than all +other WITH_ options (there is no +.Va WITHOUT_CTF , +or corresponding +.Va MK_CTF +in the build system). .El .Pp Additionally, builds in |