]> granicus.if.org Git - python/commitdiff
Use -xcode=pic32 for SunPro. Will backport to 2.4.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 30 Dec 2005 12:31:38 +0000 (12:31 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 30 Dec 2005 12:31:38 +0000 (12:31 +0000)
Misc/NEWS
configure
configure.in

index 0e6e8d70ed3993d8ef4a45a6d59b46757c896755..fa4a27744c110639075da6ea7213060c5491073b 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -630,6 +630,8 @@ Library
 Build
 -----
 
+- Use -xcode=pic32 for CCSHARED on Solaris with SunPro.
+
 - Bug #1189330: configure did not correctly determine the necessary
   value of LINKCC if python was built with GCC 4.0.
 
index 5ce023443db87eb0323e3261302b714d44fcbb43..179259d6dd3297883067da77997cb052d9f09d2d 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 39267 .
+# From configure.in Revision: 41764 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.5.
 #
@@ -10413,6 +10413,7 @@ then
        case $ac_sys_system/$ac_sys_release in
        SunOS*) if test "$GCC" = yes;
                then CCSHARED="-fPIC";
+               else CCSHARED="-xcode=pic32";
                fi;;
        hp*|HP*) if test "$GCC" = yes;
                 then CCSHARED="-fPIC";
index 811b6b27cbac53fec8851184aa34cec0753fa3bb..8f7dd8c8e1a4c21ac56323028d7625b34074ef2c 100644 (file)
@@ -1410,6 +1410,7 @@ then
        case $ac_sys_system/$ac_sys_release in
        SunOS*) if test "$GCC" = yes;
                then CCSHARED="-fPIC";
+               else CCSHARED="-xcode=pic32";
                fi;;
        hp*|HP*) if test "$GCC" = yes;
                 then CCSHARED="-fPIC";