From: Jesus Cea Date: Wed, 16 Mar 2011 19:37:54 +0000 (+0100) Subject: Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object... X-Git-Tag: v3.2.1b1~272^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3b7a55f543bf1c3ea6bcf10dd03b0919822f993;p=thirdparty%2FPython%2Fcpython.git Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS --- diff --git a/configure b/configure index 1ef57d06bc7e..90ad156601b3 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" diff --git a/configure.in b/configure.in index 3c6bd6f1a90c..9b7a5a7f7008 100644 --- a/configure.in +++ b/configure.in @@ -1758,8 +1758,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"