components/python/python27/patches/10-cflags.patch
author John Beck <John.Beck@Oracle.COM>
Mon, 06 Oct 2014 13:15:36 -0700
branchs11u2-sru
changeset 3379 e99da14b537a
parent 634 bd9c94f9f6e0
child 3565 2d729d36ded7
permissions -rw-r--r--
PSARC 2014/183 Python 2.7.6 18251953 update Python 2.7 line to version 2.7.6 19004605 update Python 2.7 line to version 2.7.7 19308541 update Python 2.7 line to version 2.7.8 19284990 python 2.7.7 segfaults while under memory stress 17431625 64-bit python should use long rather than int for os.sysconf() return value 19164544 Python 2.7 test_tcl fails 19030238 Python 2.7 test_sysconfig fails - no module named _osx_support 19030198 Python 2.7 tests fail - import name error 19032456 more Python 2.7 tests failing with import errors 19022543 Python 2.7 test_lib2to3 fails

This patch is Solaris-specific and thus not suitable for upstream.

--- Python-2.7.6/configure.ac.~2~	2014-05-14 13:20:24.767295632 -0700
+++ Python-2.7.6/configure.ac	2014-05-14 13:20:25.052695991 -0700
@@ -1083,7 +1083,7 @@
 	;;
 
     *)
-	OPT="-O"
+	OPT=""
 	;;
     esac
 fi