summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-17 22:01:12 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-17 22:01:12 (GMT)
commit34562e115b8e6069a7dae3a819226034a21f3141 (patch)
treeb2b566089ec86caedb27f046c3fd857c275f6149
parentf892597eb5b27b4b0d8a741c663360c79ae371e2 (diff)
downloadcpython-34562e115b8e6069a7dae3a819226034a21f3141.zip
cpython-34562e115b8e6069a7dae3a819226034a21f3141.tar.gz
cpython-34562e115b8e6069a7dae3a819226034a21f3141.tar.bz2
Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them.
-rwxr-xr-xconfigure5
-rw-r--r--configure.ac5
2 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 7098353..494bef9 100755
--- a/configure
+++ b/configure
@@ -5751,6 +5751,11 @@ if test $ac_cv_opt_olimit_ok = yes; then
# 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
index 7782116..3d5838e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1181,6 +1181,11 @@ if test $ac_cv_opt_olimit_ok = yes; then
# 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"
;;