components/python/python27/patches/13-pic-compile.patch
branchs11-update
changeset 3367 ed5024e47b53
parent 756 3602fbc18c59
child 3565 2d729d36ded7
--- a/components/python/python27/patches/13-pic-compile.patch	Fri Oct 03 14:30:07 2014 -0700
+++ b/components/python/python27/patches/13-pic-compile.patch	Sat Oct 04 14:50:43 2014 -0700
@@ -1,8 +1,10 @@
---- Python-2.7.1/Lib/distutils/sysconfig.py.orig	2012-03-26 09:24:18.614278009 -0700
-+++ Python-2.7.1/Lib/distutils/sysconfig.py	2012-03-27 09:58:03.446132438 -0700
-@@ -173,6 +173,15 @@
-             cflags = cflags + ' ' + os.environ['CPPFLAGS']
-             ldshared = ldshared + ' ' + os.environ['CPPFLAGS']
+This patch is a Solaris-specific hack; it will not be submitted upstream.
+
+--- Python-2.7.6/Lib/distutils/sysconfig.py.~1~	2013-11-09 23:36:40.000000000 -0800
++++ Python-2.7.6/Lib/distutils/sysconfig.py	2014-05-14 13:33:21.453593946 -0700
+@@ -208,6 +208,15 @@
+         else:
+             archiver = ar + ' ' + ar_flags
  
 +        # Force PIC compilation. Determine if GNU compiler or otherwise
 +        # and set the PIC flag(s) accordingly. Defaults to Studio compiler.