aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2026-01-26 14:58:55 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2026-01-26 15:12:30 +0000
commit38e5564ecef53064c984d086a040c01100023f40 (patch)
treea581e58add5263e464a051eb656898963d15395c
parent27595bea69400ae71fa778cf1dcb52a793911ad4 (diff)
native-xtools: use static LLVM libraries
Set the MK_LLVM_LINK_STATIC_LIBRARIES knob to "yes" when building the native-xtools target. This reverts to the behaviour prior to 2e47f35be5dc. This avoids a build failure that occurs otherwise, where compilation fails looking for a libllvmprivate.so that was not built. It is unclear if this addresses the issue in all instances---some replies in the PRs indicate otherwise. Still, some report success, and in my own testing this fixed creation of a cross-compiled poudriere jail. Commit this while we continue to investigate... PR: 286710, 291409 Tested by: marck, rdunkle@smallcatbrain.com Reviewed by: emaste MFC after: 3 days Fixes: 2e47f35be5dc ("Convert libllvm, libclang and liblldb into private shared libraries"). Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54815
-rw-r--r--Makefile.inc11
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 03097d2d5209..598a78b4c767 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -3190,6 +3190,7 @@ NXBMAKEARGS+= \
MK_DEBUG_FILES=no \
MK_HTML=no \
MK_LLDB=no \
+ MK_LLVM_LINK_STATIC_LIBRARIES=yes \
MK_MAN=no \
MK_MAN_UTILS=yes \
MK_OFED=no \