Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.

This commit is contained in:
Martin v. Löwis 2007-03-12 10:50:39 +00:00
parent 9cea8e5118
commit eb62357a2e
3 changed files with 13 additions and 7 deletions

View File

@ -619,6 +619,8 @@ Tools/Demos
Build Build
----- -----
- Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
- Disable _XOPEN_SOURCE on NetBSD 1.x. - Disable _XOPEN_SOURCE on NetBSD 1.x.
- configure now checks whether gcc supports the PyArg_ParseTuple format - configure now checks whether gcc supports the PyArg_ParseTuple format

6
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 53508 . # From configure.in Revision: 53826 .
# 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.6. # Generated by GNU Autoconf 2.59 for python 2.6.
# #
@ -11624,7 +11624,9 @@ 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"; elif test `uname -p` = sparc;
then CCSHARED="-xcode=pic32";
else CCSHARED="-Kpic";
fi;; fi;;
hp*|HP*) if test "$GCC" = yes; hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";

View File

@ -1572,7 +1572,9 @@ 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"; elif test `uname -p` = sparc;
then CCSHARED="-xcode=pic32";
else CCSHARED="-Kpic";
fi;; fi;;
hp*|HP*) if test "$GCC" = yes; hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";