This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients barry, doko, pitrou
Date 2014-12-02.16:20:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417537230.69.0.64347205768.issue22981@psf.upfronthosting.co.za>
In-reply-to
Content
This patch fixes MULTIARCH computation when using CFLAGS=-m32:

diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5402,7 +5402,7 @@ hp*|HP*)
     esac;;
 esac
 
-MULTIARCH=$($CC --print-multiarch 2>/dev/null)
+MULTIARCH=$($CC $CFLAGS --print-multiarch 2>/dev/null)
 
 
 
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -788,7 +788,7 @@ hp*|HP*)
     esac;;
 esac
 
-MULTIARCH=$($CC --print-multiarch 2>/dev/null)
+MULTIARCH=$($CC $CFLAGS --print-multiarch 2>/dev/null)
 AC_SUBST(MULTIARCH)
History
Date User Action Args
2014-12-02 16:20:30pitrousetrecipients: + pitrou, barry, doko
2014-12-02 16:20:30pitrousetmessageid: <1417537230.69.0.64347205768.issue22981@psf.upfronthosting.co.za>
2014-12-02 16:20:30pitroulinkissue22981 messages
2014-12-02 16:20:30pitroucreate