Project

General

Profile

Bug #5541 » configure.in.llvm-gcc.patch

drbrain (Eric Hodel), 11/02/2011 05:32 AM

View differences:

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}])
(1-1/2)