components/python/python27/patches/10-cflags.patch
author Shawn Walker <shawn.walker@oracle.com>
Tue, 20 Dec 2011 17:19:09 -0800
changeset 634 bd9c94f9f6e0
child 1914 00e8dbcb9b1e
child 3367 ed5024e47b53
permissions -rw-r--r--
6771457 explore compiler performance improvements for python

--- 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
@@ -919,7 +919,7 @@
 	;;
 
     *)
-	OPT="-O"
+	OPT=""
 	;;
     esac
 
@@ -1110,6 +1110,8 @@
 	# environment?
         Darwin*)
 	    ;;
+	SunOS*)
+	    ;;
         *)
 	    BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
 	    ;;