Commit 34562e11 authored by Trent Nelson's avatar Trent Nelson

Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them.

parent f892597e
...@@ -5751,6 +5751,11 @@ if test $ac_cv_opt_olimit_ok = yes; then ...@@ -5751,6 +5751,11 @@ if test $ac_cv_opt_olimit_ok = yes; then
# environment? # environment?
Darwin*) 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" BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
;; ;;
......
...@@ -1181,6 +1181,11 @@ if test $ac_cv_opt_olimit_ok = yes; then ...@@ -1181,6 +1181,11 @@ if test $ac_cv_opt_olimit_ok = yes; then
# environment? # environment?
Darwin*) 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" BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment