Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5845ec

Browse files
committed
Use -xcode=pic32 for SunPro. Will backport to 2.4.
1 parent 39b29be commit d5845ec

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ Library
630630
Build
631631
-----
632632

633+
- Use -xcode=pic32 for CCSHARED on Solaris with SunPro.
634+
633635
- Bug #1189330: configure did not correctly determine the necessary
634636
value of LINKCC if python was built with GCC 4.0.
635637

configure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 39267 .
2+
# From configure.in Revision: 41764 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.59 for python 2.5.
55
#
@@ -10413,6 +10413,7 @@ then
1041310413
case $ac_sys_system/$ac_sys_release in
1041410414
SunOS*) if test "$GCC" = yes;
1041510415
then CCSHARED="-fPIC";
10416+
else CCSHARED="-xcode=pic32";
1041610417
fi;;
1041710418
hp*|HP*) if test "$GCC" = yes;
1041810419
then CCSHARED="-fPIC";

configure.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,7 @@ then
14101410
case $ac_sys_system/$ac_sys_release in
14111411
SunOS*) if test "$GCC" = yes;
14121412
then CCSHARED="-fPIC";
1413+
else CCSHARED="-xcode=pic32";
14131414
fi;;
14141415
hp*|HP*) if test "$GCC" = yes;
14151416
then CCSHARED="-fPIC";

0 commit comments

Comments
 (0)