pkgsrc/mk/compiler
jperkin 71e098497c mk: Add CTF infrastructure support.
Platform support is determined by _OPSYS_SUPPORTS_CTF from mk/platform, the
user enables support by setting PKGSRC_USE_CTF=yes, and packages can
explicitly disable support with CTF_SUPPORTED=no or skip certain files with
CTF_FILES_SKIP.

The path to ctfconvert is configured via TOOLS_PLATFORM.ctfconvert.

If all of the requisite variables are enabled, a compiler-specific debug flag
is passed via the wrappers to ensure we have DWARF information to convert,
_INSTALL_UNSTRIPPED is explicitly defined to avoid binaries being stripped
prior to conversion, and the conversion is performed during the install stage.

It is recommended that users who enable the feature also set STRIP_DEBUG=yes
to reduce the final binary size once the conversion has been performed.

This has been used for the past year in Joyent SmartOS builds.  FreeBSD is
marked as supported but is untested.
2018-11-12 14:22:58 +00:00
..
ccache.mk Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00
ccc.mk
clang.mk mk: Add CTF infrastructure support. 2018-11-12 14:22:58 +00:00
distcc.mk Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00
f2c.mk Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00
g95.mk Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00
gcc.mk mk: Add CTF infrastructure support. 2018-11-12 14:22:58 +00:00
gfortran.mk Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00
hp.mk
icc.mk
ido.mk
mipspro-ucode.mk Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00
mipspro.mk
pcc.mk Correction to the previous: we must use ${GREP} -E, there's no ${EGREP} here. 2015-10-09 17:27:09 +00:00
sunpro.mk PR 49877: Expand correct variable. From Greg Onufer. 2015-05-03 23:16:41 +00:00
xlc.mk Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00