Use -xcode=pic32 for SunPro. Will backport to 2.4.

This commit is contained in:
Martin v. Löwis 2005-12-30 12:31:38 +00:00
parent 39b29be8a6
commit d5845ec32e
3 changed files with 5 additions and 1 deletions

View file

@ -630,6 +630,8 @@ Library
Build Build
----- -----
- Use -xcode=pic32 for CCSHARED on Solaris with SunPro.
- Bug #1189330: configure did not correctly determine the necessary - Bug #1189330: configure did not correctly determine the necessary
value of LINKCC if python was built with GCC 4.0. value of LINKCC if python was built with GCC 4.0.

3
configure vendored
View file

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 39267 . # From configure.in Revision: 41764 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5. # Generated by GNU Autoconf 2.59 for python 2.5.
# #
@ -10413,6 +10413,7 @@ then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
SunOS*) if test "$GCC" = yes; SunOS*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";
else CCSHARED="-xcode=pic32";
fi;; fi;;
hp*|HP*) if test "$GCC" = yes; hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";

View file

@ -1410,6 +1410,7 @@ then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
SunOS*) if test "$GCC" = yes; SunOS*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";
else CCSHARED="-xcode=pic32";
fi;; fi;;
hp*|HP*) if test "$GCC" = yes; hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";