1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00

init: build dynamically

This makes it easier to downgrade kernel when it stops providing some
syscall required by libc.  In this case, it is enough to downgrade libc
as well, our crt1 delegates all non-trivial work to
libc::__libc_start1().  With static init, the /sbin/init should be
downgraded as well, which might be not easy.

This does not mean that we support forward compatibility.

Reviewed by:	imp, jilles, zlei
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56536
This commit is contained in:
Konstantin Belousov
2026-04-20 20:52:59 +03:00
parent f7bf9fd619
commit 24d887436d
-2
View File
@@ -10,6 +10,4 @@ LIBADD= util crypt
CONFTTYSNAME= ttys
CONFTTYS+= ttys
NO_SHARED?= YES
.include <bsd.prog.mk>