summaryrefslogtreecommitdiffstats
path: root/configure
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 /configure
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 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"
;;