mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
detect clang++
Given $CC is clang-* in this case branch the sed should match against clang, not gcc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9067330c6d
commit
9ab13f3837
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ AS_CASE([$CC],
|
|||
gcc_prefix=gcc- gcc_suffix=`echo "$CC" | sed 's/^gcc//'`
|
||||
AC_PROG_CXX(g++${gcc_suffix})],
|
||||
[clang-*], [
|
||||
gcc_prefix=clang- gcc_suffix=`echo "$CC" | sed 's/^gcc//'`
|
||||
gcc_prefix=clang- gcc_suffix=`echo "$CC" | sed 's/^clang//'`
|
||||
AC_PROG_CXX(clang++${gcc_suffix})],
|
||||
[gcc_prefix= gcc_suffix=])
|
||||
|
||||
|
|
Loading…
Reference in a new issue