diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 09:33:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 09:33:21 +0000 |
commit | 247ec65a6c1cba324012053a9bc6f95c5cc66c0d (patch) | |
tree | 7434ffa6b87090fa39ad8447a74ac84eaa6dc3ed /mjit.c | |
parent | ae62ab3302513ca3e4147ff30e785d390589adc1 (diff) | |
download | ruby-247ec65a6c1cba324012053a9bc6f95c5cc66c0d.tar.gz |
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
Diffstat (limited to 'mjit.c')
-rw-r--r-- | mjit.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |