mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mjit.c: pch file argument
* mjit.c (compile_c_to_so): pass pch file only when using "-include-pch" option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ae62ab3302
commit
247ec65a6c
1 changed files with 2 additions and 0 deletions
2
mjit.c
2
mjit.c
|
@ -676,7 +676,9 @@ compile_c_to_so(const char *c_file, const char *so_file)
|
|||
p = append_str2(p, so_file, solen);
|
||||
*p = '\0';
|
||||
#else
|
||||
# ifdef __clang__
|
||||
files[1] = pch_file;
|
||||
# endif
|
||||
files[numberof(files)-3] = so_file;
|
||||
#endif
|
||||
args = form_args(5, CC_LDSHARED_ARGS, CC_CODEFLAG_ARGS,
|
||||
|
|
Loading…
Reference in a new issue