[Python-checkins] cpython (3.1): Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits
jesus.cea
python-checkins at python.org
Wed Mar 16 20:42:34 CET 2011
http://hg.python.org/cpython/rev/d108a7dff2a0
changeset: 68612:d108a7dff2a0
branch: 3.1
parent: 68593:c394f2d42ff8
user: Jesus Cea <jcea at jcea.es>
date: Wed Mar 16 20:37:54 2011 +0100
summary:
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
files:
configure
configure.in
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -769,7 +769,8 @@
LDFLAGS
LIBS
CPPFLAGS
-CPP'
+CPP
+CPPFLAGS'
# Initialize some variables set by options.
@@ -7551,8 +7552,8 @@
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
SunOS/5*)
if test "$GCC" = "yes"
- then LDSHARED='$(CC) -shared'
- else LDSHARED='$(CC) -G';
+ then LDSHARED='$(CC) -shared $(LDFLAGS)'
+ else LDSHARED='$(CC) -G $(LDFLAGS)';
fi ;;
hp*|HP*)
if test "$GCC" = "yes"
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -1758,8 +1758,8 @@
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
SunOS/5*)
if test "$GCC" = "yes"
- then LDSHARED='$(CC) -shared'
- else LDSHARED='$(CC) -G';
+ then LDSHARED='$(CC) -shared $(LDFLAGS)'
+ else LDSHARED='$(CC) -G $(LDFLAGS)';
fi ;;
hp*|HP*)
if test "$GCC" = "yes"
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list