Keep on using ${CC}, since gcc may act in disguise.
PR: 329
This commit is contained in:
parent
f7cd5462c9
commit
6a9a7ff259
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user