From 34562e115b8e6069a7dae3a819226034a21f3141 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Wed, 17 Oct 2012 18:01:12 -0400 Subject: Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them. --- configure | 5 +++++ configure.ac | 5 +++++ 2 files changed, 10 insertions(+) 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" ;; -- cgit v0.12