summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-12-30 12:31:38 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-12-30 12:31:38 (GMT)
commitd5845ec32ec0911eb82619274090ec4c2e06150e (patch)
treec74fd504ab3e6162991ee94fb78eff491bf942ab
parent39b29be8a6639212402303adab4df29976d8fc7c (diff)
downloadcpython-d5845ec32ec0911eb82619274090ec4c2e06150e.zip
cpython-d5845ec32ec0911eb82619274090ec4c2e06150e.tar.gz
cpython-d5845ec32ec0911eb82619274090ec4c2e06150e.tar.bz2
Use -xcode=pic32 for SunPro. Will backport to 2.4.
-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 0e6e8d7..fa4a277 100644
--- 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.
diff --git a/configure b/configure
index 5ce0234..179259d 100755
--- 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";
diff --git a/configure.in b/configure.in
index 811b6b2..8f7dd8c 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";