Clarify that kernel PKGBUILDs set their own toolchain in aurutils-makepkg.conf
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user