summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2011-03-16 19:37:54 (GMT)
committerJesus Cea <jcea@jcea.es>2011-03-16 19:37:54 (GMT)
commitd3b7a55f543bf1c3ea6bcf10dd03b0919822f993 (patch)
treef8ddcfdc9557048f519c68a3c5520bfb25e16335 /configure
parent0b8753d24b9a37834c23faa1da705f4ed222d928 (diff)
downloadcpython-d3b7a55f543bf1c3ea6bcf10dd03b0919822f993.zip
cpython-d3b7a55f543bf1c3ea6bcf10dd03b0919822f993.tar.gz
cpython-d3b7a55f543bf1c3ea6bcf10dd03b0919822f993.tar.bz2
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 1ef57d0..90ad156 100755
--- a/configure
+++ b/configure
@@ -769,7 +769,8 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
-CPP'
+CPP
+CPPFLAGS'
# Initialize some variables set by options.
@@ -7551,8 +7552,8 @@ then
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"