mjit.c: place DLDFLAGS at last
* mjit.c (compile_c_to_so): place DLDFLAGS at last, as compilers other than cl.exee don't care the order of flag arguments, usually. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
32213cc8d6
commit
f3cc10b63d
7
mjit.c
7
mjit.c
@ -680,12 +680,7 @@ compile_c_to_so(const char *c_file, const char *so_file)
|
|||||||
files[numberof(files)-3] = so_file;
|
files[numberof(files)-3] = so_file;
|
||||||
#endif
|
#endif
|
||||||
args = form_args(5, CC_LDSHARED_ARGS, CC_CODEFLAG_ARGS,
|
args = form_args(5, CC_LDSHARED_ARGS, CC_CODEFLAG_ARGS,
|
||||||
#ifdef _MSC_VER
|
files, libs, CC_DLDFLAGS_ARGS);
|
||||||
files, libs, CC_DLDFLAGS_ARGS
|
|
||||||
#else
|
|
||||||
CC_DLDFLAGS_ARGS, files, libs
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
if (args == NULL)
|
if (args == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user