Change compiler to clang for module compilation

This commit is contained in:
MattTheTekie 2026-05-01 09:36:37 -04:00 committed by GitHub
commit 437dbd91f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ all:
\$(MAKE) -C \$(KDIR) M=\$(PWD) modules
EOF
make KVER="$KVER" 2>&1
make KVER="$KVER" CC=clang LLVM=1
test -f btusb.ko || { echo "Error: compilation failed"; exit 1; }
echo "==> Installing module..."