diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-23 15:59:47 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-23 15:59:47 +0000 |
commit | e1d542bc8bee3b593d89d6a4c4cc098daaf357ef (patch) | |
tree | 8c2a527074c66ed3f3c39ff5230c8bbb52d301c5 /configure.in | |
parent | 608ac0b1cd0fbdfcd153bbd47b854a0271462829 (diff) |
revert r32648. r32649 is better one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32651 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 ecb3a36ca2..6888087964 100644 --- a/configure.in +++ b/configure.in @@ -289,13 +289,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 |