Merge pull request #7338 from harold-b/hb.linux-build-explicit-llvm-components

Explicitly specify all required LLVM components on linux build
This commit is contained in:
Jeroen van Rijn
2026-08-16 10:57:14 +02:00
committed by GitHub

View File

@@ -125,7 +125,7 @@ NetBSD)
;;
Linux)
CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)"
LDFLAGS="$LDFLAGS -lstdc++ -ldl $($LLVM_CONFIG --libs core native --system-libs --libfiles)"
LDFLAGS="$LDFLAGS -lstdc++ -ldl $($LLVM_CONFIG --libs core native passes arm aarch64 x86 webassembly riscv --system-libs --libfiles)"
# Copy libLLVM*.so into current directory for linking
# NOTE: This is needed by the Linux release pipeline!
# cp $(readlink -f $($LLVM_CONFIG --libfiles)) ./