Files
dotfiles/.config/aurb/clang.cfg
T
Daniele Fucini 81e2ed075e Build AUR packages with clang and ThinLTO by default
aurb now builds with clang + lld + ThinLTO and bind-mounts a ThinLTO cache and its clang.cfg into the chroot; --gcc keeps the old gcc build. update-kernel still uses gcc.
2026-10-18 21:58:23 +02:00

6 lines
316 B
INI

# clang options for aurb chroot builds (CC/CXX pass --config=<this file>, see aurutils-makepkg.conf).
# Here rather than in LDFLAGS: old libtool (<2.4.7) drops -fuse-ld=lld, and these then reach GNU ld.
-fuse-ld=lld
-Wl,--thinlto-cache-dir=/home/fuxino/.cache/thinlto
-Wl,--thinlto-cache-policy=cache_size_bytes=10g