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++
ldd=$(command -v ldd)
lld=$(command -v lld)
if [[ -n ${ldd} ]]; then
export LDFLAGS=-fuse-ld=${ldd}
export LDFLAGS=-fuse-ld=${lld}
fi
if [[ ! -d build ]]; then