From: Trent Nelson Date: Wed, 17 Oct 2012 22:01:12 +0000 (-0400) Subject: Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them. X-Git-Tag: v2.7.5~109^2~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34562e115b8e6069a7dae3a819226034a21f3141;p=python Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them. --- diff --git a/configure b/configure index 7098353a6d..494bef9e52 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 7782116a1b..3d5838e616 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" ;;