Commit 870b5e4b authored by Martin v. Löwis's avatar Martin v. Löwis

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

parent 6221ad91
...@@ -378,6 +378,8 @@ Tests ...@@ -378,6 +378,8 @@ Tests
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.
- Bug #1578513: Cross compilation was broken by a change to configure. - Bug #1578513: Cross compilation was broken by a change to configure.
......
#! /bin/sh #! /bin/sh
# From configure.in Revision: 52457 . # From configure.in Revision: 52844 .
# 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.
# #
...@@ -11085,9 +11085,11 @@ if test -z "$CCSHARED" ...@@ -11085,9 +11085,11 @@ if test -z "$CCSHARED"
then 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;
fi;; then CCSHARED="-xcode=pic32";
else CCSHARED="-Kpic";
fi;;
hp*|HP*) if test "$GCC" = yes; hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";
else CCSHARED="+z"; else CCSHARED="+z";
......
...@@ -1544,9 +1544,11 @@ if test -z "$CCSHARED" ...@@ -1544,9 +1544,11 @@ if test -z "$CCSHARED"
then 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;
fi;; then CCSHARED="-xcode=pic32";
else CCSHARED="-Kpic";
fi;;
hp*|HP*) if test "$GCC" = yes; hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC"; then CCSHARED="-fPIC";
else CCSHARED="+z"; else CCSHARED="+z";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment