]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
build: remove LIBPTHREAD/LIBTHR build options
authorKyle Evans <kevans@FreeBSD.org>
Wed, 20 Jan 2021 14:01:25 +0000 (08:01 -0600)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 29 Jan 2021 01:21:46 +0000 (19:21 -0600)
commited05bfceb8191c2d50742203512bb0378d831aba
treefcaea8923d0254a21171a765d89572af9592a849
parent5d58f58b0d612913fd280a6acaf174019bd465ba
build: remove LIBPTHREAD/LIBTHR build options

WITHOUT_LIBTHR has been broken for a little over five years now, since the
xz 5.2.0 update introduced a hard liblzma dependency on libthr, and building
a useful system without threading support is becoming increasingly more
difficult.

Additionally, in the five plus years that it's been broken more reverse
dependencies have cropped up in libzstd, libsqlite3, and libcrypto (among
others) that make it more and more difficult to reconcile the effort needed
to fix these options.

Remove the broken options.

PR: 252760

(cherry picked from commit 123ae3045dd21badb93ce52445e18e364b3ac807)
(cherry picked from commit 251a6ddfbdcd72e0de922e8320d2f0cc6806a423)
14 files changed:
Makefile.inc1
cddl/lib/Makefile
cddl/usr.bin/Makefile
cddl/usr.sbin/Makefile
lib/Makefile
sbin/ggate/Makefile
share/man/man3/Makefile
share/man/man5/src.conf.5
share/mk/src.opts.mk
tools/build/mk/OptionalObsoleteFiles.inc
tools/build/options/WITHOUT_LIBPTHREAD [deleted file]
tools/build/options/WITHOUT_LIBTHR [deleted file]
usr.sbin/Makefile
usr.sbin/ngctl/Makefile