]> granicus.if.org Git - python/commitdiff
Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them.
authorTrent Nelson <trent@trent.me>
Wed, 17 Oct 2012 22:01:12 +0000 (18:01 -0400)
committerTrent Nelson <trent@trent.me>
Wed, 17 Oct 2012 22:01:12 +0000 (18:01 -0400)
configure
configure.ac

index 7098353a6d2cc8593efd77ee0f09bfd282923944..494bef9e529efe114d61db4299b2b35e50f8e899 100755 (executable)
--- 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"
            ;;
index 7782116a1bde97160db96943c129236121063b01..3d5838e61685a66f619b7982144c4df24ebbda8b 100644 (file)
@@ -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"
            ;;