ruby-changes:50353
From: nobu <ko1@a...>
Date: Sun, 18 Feb 2018 18:33:26 +0900 (JST)
Subject: [ruby-changes:50353] nobu:r62469 (trunk): mjit.c: pch file argument
nobu 2018-02-18 18:33:21 +0900 (Sun, 18 Feb 2018) New Revision: 62469 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62469 Log: mjit.c: pch file argument * mjit.c (compile_c_to_so): pass pch file only when using "-include-pch" option. Modified files: trunk/mjit.c Index: mjit.c =================================================================== --- mjit.c (revision 62468) +++ mjit.c (revision 62469) @@ -676,7 +676,9 @@ compile_c_to_so(const char *c_file, cons https://github.com/ruby/ruby/blob/trunk/mjit.c#L676 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, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/