components/python/python26/patches/Python26-13-cflags.patch
author Shawn Walker <shawn.walker@oracle.com>
Tue, 20 Dec 2011 17:19:09 -0800
changeset 634 bd9c94f9f6e0
parent 115 c360825c3a3f
permissions -rw-r--r--
6771457 explore compiler performance improvements for python

--- Python-2.6.4/configure.in.old	Fri Nov  4 12:03:26 2011
+++ Python-2.6.4/configure.in	Fri Nov  4 12:04:05 2011
@@ -919,7 +919,7 @@
 	;;
 
     *)
-	OPT="-O"
+	OPT=""
 	;;
     esac
 
@@ -1110,6 +1110,8 @@
 	# environment?
         Darwin*)
 	    ;;
+	SunOS*)
+	    ;;
         *)
 	    BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
 	    ;;