Keep on using ${CC}, since gcc may act in disguise.

PR: 329
This commit is contained in:
Richard Levitte 2002-11-06 23:47:16 +00:00
parent f7cd5462c9
commit 6a9a7ff259

View File

@ -275,7 +275,7 @@ do_gnu-shared:
done
DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \
my_ld=`gcc -print-prog-name=ld 2>&1` && \
my_ld=`${CC} -print-prog-name=ld 2>&1` && \
[ -n "$$my_ld" ] && \
$$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1