summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-12-30 12:32:48 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-12-30 12:32:48 (GMT)
commitddbcbe8f79768cb181d041dcb066712e9ee7511a (patch)
tree6112598d58a400716f561f12ec2d5be351124c17
parentcac7b9d79a95b84d22b92589e43f22f736e54576 (diff)
downloadcpython-ddbcbe8f79768cb181d041dcb066712e9ee7511a.zip
cpython-ddbcbe8f79768cb181d041dcb066712e9ee7511a.tar.gz
cpython-ddbcbe8f79768cb181d041dcb066712e9ee7511a.tar.bz2
Use -xcode=pic32 for SunPro.
-rw-r--r--Misc/NEWS2
-rwxr-xr-xconfigure3
-rw-r--r--configure.in1
3 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 32ec933..3c5f21f 100644
--- 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.
diff --git a/configure b/configure
index cdce526..2a74dbf 100755
--- 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";
diff --git a/configure.in b/configure.in
index 1a8a887..fb48316 100644
--- a/configure.in
+++ b/configure.in
@@ -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";