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

Makefile.org

index 6da1fb6494fc6fb1b2c3d41ecce26305296a2f9a..fb90e493c57aa5792530be54496a3a6b0aad853f 100644 (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