diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-23 15:57:21 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-23 15:57:21 +0000 |
commit | 1e52e560374c5cb5f435327f042ecff43697a2ad (patch) | |
tree | cabadbb8b144d0f1303c694819600c4157535e1a /configure.in | |
parent | e39294cac530389e983a57c59b7daa8a2a77d2f6 (diff) | |
download | ruby-1e52e560374c5cb5f435327f042ecff43697a2ad.tar.gz |
revert r32647. r32649 is better one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.in b/configure.in index b90f689e8b..29c5c126eb 100644 --- a/configure.in +++ b/configure.in @@ -277,13 +277,7 @@ AC_PROG_GCC_TRADITIONAL AC_SUBST(GCC) if test "$GCC" = yes; then linker_flag=-Wl, - if test "$CC -v 2>&1 | grep LLVM" ; then - # llvm-gcc's optimization strategy is far different from gcc. - # It makes confusing our gcc specific optimized code. - : ${optflags=-O0} - else - : ${optflags=-O3} - fi + : ${optflags=-O3} AS_CASE(["$target_os"], [linux*|darwin*], [: ${debugflags=-ggdb}]) RUBY_APPEND_OPTIONS(XCFLAGS, ["-include ruby/config.h" "-include ruby/missing.h"]) else |