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 jcea
Recipients jcea
Date 2011-03-16.14:13:28
SpamBayes Score 9.643998e-05
Marked as misclassified No
Message-id <1300284809.22.0.236855735779.issue11570@psf.upfronthosting.co.za>
In-reply-to
Content
This patch is hacky, but 3.1 is in maintenance mode.

This patch should be safe. It only touch SunOS compilation. It passes the testsuite, and it should allow 64 bit compilation of extension packages.

This patch is not needed in 3.2 and 3.x. It only affects 3.1.

The patch:

"""
diff -r f2ac5bbc1623 configure.in
--- a/configure.in      Wed Mar 16 12:48:54 2011 +0200
+++ b/configure.in      Wed Mar 16 14:10:53 2011 +0000
@@ -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"
"""

Please, review. If everything is OK, I will commit the patch myself.
History
Date User Action Args
2011-03-16 14:13:29jceasetrecipients: + jcea
2011-03-16 14:13:29jceasetmessageid: <1300284809.22.0.236855735779.issue11570@psf.upfronthosting.co.za>
2011-03-16 14:13:28jcealinkissue11570 messages
2011-03-16 14:13:28jceacreate