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:51 +00:00
parent ef23d7000d
commit a8cfa2a8cd
3 changed files with 13 additions and 7 deletions

View File

@ -378,6 +378,8 @@ Tests
Build
-----
- Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
- Disable _XOPEN_SOURCE on NetBSD 1.x.
- Bug #1578513: Cross compilation was broken by a change to configure.

10
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 52457 .
# From configure.in Revision: 52844 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
@ -11085,9 +11085,11 @@ if test -z "$CCSHARED"
then
case $ac_sys_system/$ac_sys_release in
SunOS*) if test "$GCC" = yes;
then CCSHARED="-fPIC";
else CCSHARED="-xcode=pic32";
fi;;
then CCSHARED="-fPIC";
elif test `uname -p` = sparc;
then CCSHARED="-xcode=pic32";
else CCSHARED="-Kpic";
fi;;
hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC";
else CCSHARED="+z";

View File

@ -1544,9 +1544,11 @@ if test -z "$CCSHARED"
then
case $ac_sys_system/$ac_sys_release in
SunOS*) if test "$GCC" = yes;
then CCSHARED="-fPIC";
else CCSHARED="-xcode=pic32";
fi;;
then CCSHARED="-fPIC";
elif test `uname -p` = sparc;
then CCSHARED="-xcode=pic32";
else CCSHARED="-Kpic";
fi;;
hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC";
else CCSHARED="+z";