freebsd-nq/share/mk
Dimitry Andric 6ab18ea64d Build toolchain components as dynamically linked executables by default
Summary:
Historically, we have built toolchain components such as cc, ld, etc as
statically linked executables.  One of the reasons being that you could
sometimes save yourself from botched upgrades, by e.g. recompiling a
"known good" libc and reinstalling it.

In this day and age, we have boot environments, virtual machine
snapshots, cloud backups, and other much more reliable methods to
restore systems to working order.  So I think the time is ripe to flip
this default, and link the toolchain components dynamically, just like
almost all other executables on FreeBSD.

Maybe at some point they can even become PIE executables by default! :)

Reviewed by:	kib
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D22061
2019-10-23 17:02:45 +00:00
..
atf.test.mk Another round of attempting to squelch -Wdeprecated-declarations, which 2019-09-17 06:07:08 +00:00
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk
bsd.compat.mk Fix including bsd.compat.mk outside Makefile.libcompat on mips64. 2019-10-15 23:54:51 +00:00
bsd.compiler.mk Allow for compiler versions >= 10 2019-09-08 19:40:52 +00:00
bsd.confs.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.cpu.mk Make setting mips endian and ABI less verbose. 2019-07-19 23:39:21 +00:00
bsd.crunchgen.mk
bsd.dep.mk Fix spelling of DPSRCS. 2019-10-19 21:44:33 +00:00
bsd.dirs.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.doc.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.dtb.mk
bsd.endian.mk
bsd.files.mk Need to use ${${_${group}DIR_${file}}} for STAGE_DIR 2019-10-01 20:32:03 +00:00
bsd.incs.mk pkgbase: Add tags for includes in bsd.incs.mk 2019-09-05 14:16:39 +00:00
bsd.info.mk
bsd.init.mk Consider *clean targets as non-build targets as well. 2019-07-04 14:51:44 +00:00
bsd.kmod.mk
bsd.lib.mk Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around 2019-10-06 04:19:49 +00:00
bsd.libnames.mk Introduce stats(3), a flexible statistics gathering API. 2019-10-07 19:05:05 +00:00
bsd.linker.mk
bsd.links.mk
bsd.man.mk
bsd.mkopt.mk Document logic for __DEFAULT_DEPENDENT_OPTIONS 2019-09-16 00:32:23 +00:00
bsd.nls.mk
bsd.obj.mk
bsd.opts.mk Add WITH_PIE knob to build Position Independent Executables 2019-02-15 22:22:38 +00:00
bsd.own.mk
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk bsd.compat.mk isn't setup to be included outside of Makefile.inc so comment it 2019-10-16 13:20:36 +00:00
bsd.progs.mk PROGS: Build common sources before recursed PROGS_TARGETS as well when building. 2019-09-04 18:32:11 +00:00
bsd.README Add the ability to link programs against a compat ABI. 2019-10-15 21:27:06 +00:00
bsd.snmpmod.mk Rework some multi-output target dependency handling. 2019-07-19 00:15:25 +00:00
bsd.subdir.mk
bsd.suffixes-posix.mk
bsd.suffixes.mk Similar to r335710 avoid ccache when linking a .cc file directly. 2019-06-15 17:08:18 +00:00
bsd.symver.mk
bsd.sys.mk Instead of disabling gcc's deprecated declaration warnings about e.g. 2019-09-14 19:16:28 +00:00
bsd.test.mk Add googletest.test.mk and integrate into bsd.test.mk 2019-02-20 01:09:03 +00:00
dirdeps-options.mk
dirdeps.mk
gendirdeps.mk
googletest.test.inc.mk Fix up CXXSTD support originally added in r345708 2019-04-22 18:40:46 +00:00
googletest.test.mk Fix a typo 2019-02-21 03:36:09 +00:00
host-target.mk
install-new.mk
local.autodep.mk
local.dirdeps.mk
local.gendirdeps.mk
local.init.mk
local.meta.sys.mk
local.sys.env.mk
local.sys.mk META_MODE: Delete build targets that fail. 2019-06-15 17:08:28 +00:00
Makefile Install bsd.compat.mk. 2019-10-16 17:21:18 +00:00
meta2deps.py
meta2deps.sh
meta.autodep.mk
meta.stage.mk
meta.subdir.mk
meta.sys.mk
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk Allow OBJDIR to be overridden for LIB*DIR variables. 2019-10-15 21:15:03 +00:00
src.opts.mk Build toolchain components as dynamically linked executables by default 2019-10-23 17:02:45 +00:00
src.sys.env.mk
src.sys.mk
src.sys.obj.mk
stage-install.sh
suite.test.mk In suite.test.mk, test if ${DESTDIR} exists before attempting to run 2019-09-25 17:52:59 +00:00
sys.dependfile.mk
sys.mk arm: Use -O2 instead of -O as optimization flag 2019-07-22 10:17:59 +00:00
tap.test.mk
version_gen.awk