ed05bfceb8
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 commit123ae3045d
) (cherry picked from commit251a6ddfbd
)
51 lines
785 B
Makefile
51 lines
785 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= ${_dtrace} \
|
|
${_dwatch} \
|
|
${_lockstat} \
|
|
${_plockstat} \
|
|
${_zdb} \
|
|
${_zfsd} \
|
|
${_zhack}
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
_zdb= zdb
|
|
_zhack= zhack
|
|
. if ${MK_CXX} != "no"
|
|
_zfsd= zfsd
|
|
. endif
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
|
_dtrace= dtrace
|
|
_dwatch= dwatch
|
|
_lockstat= lockstat
|
|
_plockstat= plockstat
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
|
|
${MACHINE_CPUARCH} == "riscv"
|
|
_dtrace= dtrace
|
|
_dwatch= dwatch
|
|
_lockstat= lockstat
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "mips"
|
|
_dtrace= dtrace
|
|
_dwatch= dwatch
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
|
_dtrace= dtrace
|
|
_dwatch= dwatch
|
|
_lockstat= lockstat
|
|
.endif
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|