summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2002-12-14 20:45:39 +0000
committerAndy Polyakov <appro@openssl.org>2002-12-14 20:45:39 +0000
commit1cbdbcd5871298ded16750d0c41a979519ed402b (patch)
treeb828119f581685d41d377370b351d2881a814e2d /Makefile.org
parent7e201e9f73ea734958a6672bb445b3fa7f9d5d7e (diff)
x86_64 performance patch.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.org b/Makefile.org
index 961bf76c6e..025b9122c9 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -274,10 +274,7 @@ do_gnu-shared:
libs="$$libs -l$$i"; \
done
-DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 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
+DETECT_GNU_LD=(${CC} -Wl,-V /dev/null 2>&1 | grep '^GNU ld' )>/dev/null
# For Darwin AKA Mac OS/X (dyld)
do_darwin-shared: