Skip to content

Conversation

@jkloetzke
Copy link
Member

No description provided.

The host-tools llvm variant has to be built the same way as the "real"
cross-compiled variant. Otherwise, llvm-config will report a wrong value
for "llvm-config --has-rtti".
When llvm is cross-compiled, the llvm-config executable is built for
the target architecture. We pass a copy of llvm-config in
devel::llvm-libs-dev which apparently requires a version that can be
executed on the build machine. Use the one from the host-tool package
unless llvm is not cross compiled.
@jkloetzke jkloetzke merged commit 88cf9f8 into BobBuildTool:master Dec 18, 2025
3 checks passed
@jkloetzke jkloetzke deleted the fix-llvm-config branch December 18, 2025 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant