]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bootstrap: No need to disable shared libraries for bootstrap tools
authorWarner Losh <imp@FreeBSD.org>
Mon, 11 Oct 2021 17:13:39 +0000 (11:13 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 11 Oct 2021 17:20:07 +0000 (11:20 -0600)
commite8f26e5dc859a8fbc663e108421f657325ca3054
treeed8cad4566692678caa0e70dba579d7d58a65a89
parent98dae405de7f8b3506dd94dcd3e9f51d3fb15962
bootstrap: No need to disable shared libraries for bootstrap tools

There's no need to disable shared libraries when building the bootstrap
tools. This was added on 2000 (commit ad879ce9552c) when the perl
bootstrap was added (libperl and miniperl) and saved a fair amount of
time (perl took a long time to build on 2000-era hardware).

For many years now, however, we rarely build any libraries when
bootstrapping. Even when we do, the optimization saves at most a few
seconds when upgrading since the libraries built have been small. Shared
libraries are more robust accross versions that static libraries due to
creaping dependencies (we aren't crossing versions of share libraries,
though, just using what's on the host). In addition, linux and macos
have been building like this for some time because static binaries on
those systems are difficult to impossible.

Sponsored by: Netflix
Reviewed by: arichardson, bapt
Differential Revision: https://reviews.freebsd.org/D32443
Makefile.inc1