mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
This commit is contained in:
parent
9cea8e5118
commit
eb62357a2e
3 changed files with 13 additions and 7 deletions
10
configure
vendored
10
configure
vendored
|
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 53508 .
|
||||
# From configure.in Revision: 53826 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.59 for python 2.6.
|
||||
#
|
||||
|
|
@ -11623,9 +11623,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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue