Use -xcode=pic32 for SunPro. Will backport to 2.4.
diff --git a/Misc/NEWS b/Misc/NEWS
index 0e6e8d7..fa4a277 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -630,6 +630,8 @@
 Build
 -----
 
+- Use -xcode=pic32 for CCSHARED on Solaris with SunPro.
+
 - Bug #1189330: configure did not correctly determine the necessary
   value of LINKCC if python was built with GCC 4.0.