summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-09-16 17:50:59 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-09-16 17:50:59 (GMT)
commit3cba5c08f0891505378cf2fa0d7f724871635b37 (patch)
treea204feb2069edc9ce4eb675961e79198b916ea23
parent658009afdb429a9507852c72086337c42bcf1532 (diff)
downloadcpython-3cba5c08f0891505378cf2fa0d7f724871635b37.zip
cpython-3cba5c08f0891505378cf2fa0d7f724871635b37.tar.gz
cpython-3cba5c08f0891505378cf2fa0d7f724871635b37.tar.bz2
Patch #609700: Use $(CC) to link on Linux.
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index e3100a8..8c7bf9b 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.343 .
+# From configure.in Revision: 1.344 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
@@ -8875,7 +8875,7 @@ then
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
fi ;;
- Linux*|GNU*) LDSHARED="gcc -shared";;
+ Linux*|GNU*) LDSHARED='$(CC) -shared';;
dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";;
OpenBSD*|NetBSD*|FreeBSD*)
diff --git a/configure.in b/configure.in
index 2954255..e97e32e 100644
--- a/configure.in
+++ b/configure.in
@@ -924,7 +924,7 @@ then
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
fi ;;
- Linux*|GNU*) LDSHARED="gcc -shared";;
+ Linux*|GNU*) LDSHARED='$(CC) -shared';;
dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";;
OpenBSD*|NetBSD*|FreeBSD*)