Skip to content

Commit 6244566

Browse files
committed
llvm22: enable -musl cross builds
1 parent 730a698 commit 6244566

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

srcpkgs/llvm22/template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ conflicts="llvm18>=0 llvm17>=0 llvm15>=0"
6565
lib32disabled=yes
6666
python_version=3
6767

68-
nocross="let the native builders build first"
68+
case "$XBPS_TARGET_MACHINE" in
69+
*-musl) ;;
70+
*) nocross="let the native builders build first" ;;
71+
esac
6972

7073
if [ "$CROSS_BUILD" ]; then
7174
hostmakedepends+=" llvm${_major}-cross-tools SPIRV-LLVM-Translator${_major} clang${_major} lld${_major}"

0 commit comments

Comments
 (0)