From f3cc10b63da840acde0ef7c5843e3ee206a274fa Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 18 Feb 2018 06:21:28 +0000 Subject: 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 --- mjit.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mjit.c') diff --git a/mjit.c b/mjit.c index a17f61cdcb..d9e8665632 100644 --- a/mjit.c +++ b/mjit.c @@ -680,12 +680,7 @@ compile_c_to_so(const char *c_file, const char *so_file) files[numberof(files)-3] = so_file; #endif args = form_args(5, CC_LDSHARED_ARGS, CC_CODEFLAG_ARGS, -#ifdef _MSC_VER - files, libs, CC_DLDFLAGS_ARGS -#else - CC_DLDFLAGS_ARGS, files, libs -#endif - ); + files, libs, CC_DLDFLAGS_ARGS); if (args == NULL) return FALSE; -- cgit v1.2.3