components/python/python27/patches/10-cflags.patch
changeset 634 bd9c94f9f6e0
child 1914 00e8dbcb9b1e
child 3367 ed5024e47b53
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/python27/patches/10-cflags.patch	Tue Dec 20 17:19:09 2011 -0800
@@ -0,0 +1,20 @@
+--- Python-2.6.4/configure.in.orig	Fri Nov  4 12:03:26 2011
++++ Python-2.6.4/configure.in	Fri Nov  4 12:04:05 2011
[email protected]@ -919,7 +919,7 @@
+ 	;;
+ 
+     *)
+-	OPT="-O"
++	OPT=""
+ 	;;
+     esac
+ 
[email protected]@ -1110,6 +1110,8 @@
+ 	# environment?
+         Darwin*)
+ 	    ;;
++	SunOS*)
++	    ;;
+         *)
+ 	    BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
+ 	    ;;