forked from gentoo-utils/gentoo-utils
use lld not ldd
This commit is contained in:
4
check.sh
4
check.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user