Hide ld.gold error message when its missing

pull/200/head
Jeffrey Walton 2016-06-16 09:16:01 -04:00
parent 492c130ff9
commit dcc13071a3
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ if [ "$IS_X86" -ne "0" ] || [ "$IS_X64" -ne "0" ]; then
fi
# LD-Gold linker testing
HAVE_LDGOLD=$(file `which ld.gold` 2>&1 | $GREP -v "no ld.gold" | cut -d":" -f 2 | $EGREP -i -c "elf")
HAVE_LDGOLD=$(file `which ld.gold 2>&1` | $GREP -v "no ld.gold" | cut -d":" -f 2 | $EGREP -i -c "elf")
# Set to 0 if you don't have Valgrind. Valgrind tests take a long time...
HAVE_VALGRIND=$(which valgrind 2>&1 | $GREP -v "no valgrind" | $GREP -i -c valgrind)