Bug #5541 » configure.in.llvm-gcc.patch
configure.in (working copy) | ||
---|---|---|
if test "$GCC" = yes; then
|
||
AC_TRY_LINK([
|
||
@%:@if defined __llvm__ && !defined __clang__
|
||
@%:@error llvm-gcc has ended
|
||
@%:@error llvm-gcc is not further supported by ruby. Use gcc or clang
|
||
@%:@endif
|
||
], [], [], [AC_MSG_ERROR(llvm-gcc has ended)])
|
||
], [], [], [AC_MSG_ERROR(llvm-gcc is not further supported by ruby. Use gcc or clang)])
|
||
linker_flag=-Wl,
|
||
: ${optflags=-O3}
|
||
AS_CASE(["$target_os"], [linux*|darwin*], [: ${debugflags=-ggdb}])
|