[Python-checkins] cpython (2.7): Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them.
trent.nelson
python-checkins at python.org
Thu Oct 18 00:01:18 CEST 2012
http://hg.python.org/cpython/rev/0e54f02625e8
changeset: 79804:0e54f02625e8
branch: 2.7
parent: 79794:2f812212599b
user: Trent Nelson <trent at trent.me>
date: Wed Oct 17 18:01:12 2012 -0400
summary:
Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them.
files:
configure | 5 +++++
configure.ac | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5751,6 +5751,11 @@
# environment?
Darwin*)
;;
+ # XXX thankfully this useless troublemaker of a flag has been
+ # eradicated in the 3.x line. For now, make sure it isn't picked
+ # up by any of our other platforms that use CC.
+ AIX*|SunOS*|HP-UX*|IRIX*)
+ ;;
*)
BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
;;
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1181,6 +1181,11 @@
# environment?
Darwin*)
;;
+ # XXX thankfully this useless troublemaker of a flag has been
+ # eradicated in the 3.x line. For now, make sure it isn't picked
+ # up by any of our other platforms that use CC.
+ AIX*|SunOS*|HP-UX*|IRIX*)
+ ;;
*)
BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
;;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list