use lld not ldd

This commit is contained in:
John Turner
2025-11-30 18:49:49 +00:00
parent 94f3397d19
commit b0311ba813

View File

@@ -5,10 +5,10 @@ source /lib/gentoo/functions.sh
export PATH="${HOME}/.local/bin:${PATH}" CC=clang CXX=clang++ export PATH="${HOME}/.local/bin:${PATH}" CC=clang CXX=clang++
ldd=$(command -v ldd) lld=$(command -v lld)
if [[ -n ${ldd} ]]; then if [[ -n ${ldd} ]]; then
export LDFLAGS=-fuse-ld=${ldd} export LDFLAGS=-fuse-ld=${lld}
fi fi
if [[ ! -d build ]]; then if [[ ! -d build ]]; then