1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: reject llvm-gcc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-11-01 13:08:30 +00:00
parent f0bd639693
commit b9a7f8b44c
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Tue Nov 1 22:08:27 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: reject llvm-gcc.
Tue Nov 1 21:39:00 2011 NARUSE, Yui <naruse@ruby-lang.org>
* io.c (rb_cloexec_pipe): remove workaround of r33587.

View file

@ -289,6 +289,11 @@ AC_PROG_CXX
AC_PROG_GCC_TRADITIONAL
AC_SUBST(GCC)
if test "$GCC" = yes; then
AC_TRY_LINK([
@%:@if defined __llvm__ && !defined __clang__
@%:@error llvm-gcc has ended
@%:@endif
], [], [], [AC_MSG_ERROR(llvm-gcc has ended)])
linker_flag=-Wl,
: ${optflags=-O3}
AS_CASE(["$target_os"], [linux*|darwin*], [: ${debugflags=-ggdb}])