Keep on using ${CC}, since gcc may act in disguise.
authorRichard Levitte <levitte@openssl.org>
Wed, 6 Nov 2002 23:47:25 +0000 (23:47 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 6 Nov 2002 23:47:25 +0000 (23:47 +0000)
PR: 329

Makefile.org

index 1bb707d2cc62da7117967c6d0c9ec226e3a1a359..c3d4e6d061de12e278342055cfe7b6820dae9076 100644 (file)
@@ -270,7 +270,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