зеркало из https://github.com/github/ruby.git
* 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:
Родитель
f0bd639693
Коммит
b9a7f8b44c
|
@ -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.
|
||||
|
|
|
@ -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}])
|
||||
|
|
Загрузка…
Ссылка в новой задаче