mirror of https://github.com/python/cpython
Patch #609700: Use $(CC) to link on Linux.
This commit is contained in:
parent
658009afdb
commit
3cba5c08f0
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Revision: 1.343 .
|
# From configure.in Revision: 1.344 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.53.
|
# Generated by GNU Autoconf 2.53.
|
||||||
#
|
#
|
||||||
|
@ -8875,7 +8875,7 @@ then
|
||||||
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
|
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
|
||||||
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
|
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
|
||||||
fi ;;
|
fi ;;
|
||||||
Linux*|GNU*) LDSHARED="gcc -shared";;
|
Linux*|GNU*) LDSHARED='$(CC) -shared';;
|
||||||
dgux*) LDSHARED="ld -G";;
|
dgux*) LDSHARED="ld -G";;
|
||||||
BSD/OS*/4*) LDSHARED="gcc -shared";;
|
BSD/OS*/4*) LDSHARED="gcc -shared";;
|
||||||
OpenBSD*|NetBSD*|FreeBSD*)
|
OpenBSD*|NetBSD*|FreeBSD*)
|
||||||
|
|
|
@ -924,7 +924,7 @@ then
|
||||||
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
|
BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
|
||||||
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
|
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)'
|
||||||
fi ;;
|
fi ;;
|
||||||
Linux*|GNU*) LDSHARED="gcc -shared";;
|
Linux*|GNU*) LDSHARED='$(CC) -shared';;
|
||||||
dgux*) LDSHARED="ld -G";;
|
dgux*) LDSHARED="ld -G";;
|
||||||
BSD/OS*/4*) LDSHARED="gcc -shared";;
|
BSD/OS*/4*) LDSHARED="gcc -shared";;
|
||||||
OpenBSD*|NetBSD*|FreeBSD*)
|
OpenBSD*|NetBSD*|FreeBSD*)
|
||||||
|
|
Loading…
Reference in New Issue