Clarify that kernel PKGBUILDs set their own toolchain in aurutils-makepkg.conf

This commit is contained in:
Daniele Fucini
2026-10-24 16:30:56 +02:00
parent 43758f2c0e
commit 3ff5c20cb5
+2 -2
View File
@@ -168,8 +168,8 @@ SRCEXT='.src.tar.gz'
export CCACHE_DIR=/home/fuxino/.cache/ccache export CCACHE_DIR=/home/fuxino/.cache/ccache
# clang + lld + ThinLTO, only when aurb prepends AURB_CLANG=1 (its default; `aurb --gcc` doesn't). # clang + lld + ThinLTO, only when aurb prepends AURB_CLANG=1 (its default; `aurb --gcc` doesn't).
# update-kernel uses this file as is, so the kernels stay on gcc. Linker flags live in clang.cfg # update-kernel uses this file as is; the kernels' toolchain is set only by their PKGBUILDs (LLVM=1).
# (lld + ThinLTO cache); aurb bind-mounts its dir and the ThinLTO cache dir. # Linker flags live in clang.cfg (lld + ThinLTO cache); aurb bind-mounts its dir and the ThinLTO cache dir.
if [[ -n ${AURB_CLANG-} ]]; then if [[ -n ${AURB_CLANG-} ]]; then
export CC="clang --config=/home/fuxino/.config/aurb/clang.cfg" export CC="clang --config=/home/fuxino/.config/aurb/clang.cfg"
export CXX="clang++ --config=/home/fuxino/.config/aurb/clang.cfg" export CXX="clang++ --config=/home/fuxino/.config/aurb/clang.cfg"