summaryrefslogtreecommitdiffstats
path: root/Makefile.shared
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-07 00:39:03 +0100
committerRichard Levitte <levitte@openssl.org>2002-11-07 00:39:03 +0100
commit8d6fc30bc7646b15c758a7b417b69118aaba90e5 (patch)
tree09898a74543d94fdbcf082d00eb165938246f216 /Makefile.shared
parentGenerate openssl.pc so pkg-config can return proper data. (diff)
downloadopenssl-8d6fc30bc7646b15c758a7b417b69118aaba90e5.tar.xz
openssl-8d6fc30bc7646b15c758a7b417b69118aaba90e5.zip
Keep on using ${CC}, since gcc may act in disguise.
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.shared b/Makefile.shared
index e91804fcb0..caae33f871 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -21,7 +21,7 @@ SHARED_LDFLAGS=
LIBNAME=
# LIBEXTRAS contains extra modules to link together with the library.
-# For example, if a seond library, say libbar.a needs to be linked into
+# For example, if a second library, say libbar.a needs to be linked into
# libfoo.so, you need to do the following:
#LIBEXTRAS=libbar.a
# Note that this MUST be used when using the link_o targets, to hold the
@@ -107,7 +107,7 @@ LINK_SO_A_UNPACKED= \
$(LINK_SO) && rm -rf $$UNPACKDIR
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
DO_GNU=$(CALC_VERSIONS); \