mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mjit.c: prefer using --jit-cc=clang if __clang__
is defined. This is basically for OpenBSD. Failure on using the compiler which is not used for Ruby compilation is not supported. [Bug #14440] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ddaa1ce09
commit
827322569f
1 changed files with 1 additions and 1 deletions
2
mjit.c
2
mjit.c
|
@ -1125,7 +1125,7 @@ mjit_init(struct mjit_options *opts)
|
|||
mjit_opts.max_cache_size = MIN_CACHE_SIZE;
|
||||
|
||||
if (mjit_opts.cc == MJIT_CC_DEFAULT) {
|
||||
#if defined(__MACH__)
|
||||
#if defined(__clang__)
|
||||
mjit_opts.cc = MJIT_CC_CLANG;
|
||||
verbose(2, "MJIT: CC defaults to clang");
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue