]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use -xcode=pic32 for SunPro.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 30 Dec 2005 12:32:48 +0000 (12:32 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 30 Dec 2005 12:32:48 +0000 (12:32 +0000)
Misc/NEWS
configure
configure.in

index 32ec933ecb99067635414da14396428a100f9a60..3c5f21fed49e461bc4e07eb76553b57dd303cd36 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -105,6 +105,8 @@ Tests
 Build
 -----
 
+- Use -xcode=pic32 for CCSHARED on Solaris with SunPro.
+
 - The Windows .msi files are now compressed using lzx:21. This produces a 
   significantly smaller installer.
 
index cdce52690438c1175a9b99c9b826a791b526f993..2a74dbf5da68ca87b1a86b7647e1292d0dafff66 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 39265 .
+# From configure.in Revision: 41546 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.4.
 #
@@ -10412,6 +10412,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 1a8a88781b5f476045bdd702d813f8fc95c7f1da..fb483160bce5215f4fee0129236e691d8dbe783e 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";