[前][次][番号順一覧][スレッド一覧]

ruby-changes:50350

From: nobu <ko1@a...>
Date: Sun, 18 Feb 2018 15:21:35 +0900 (JST)
Subject: [ruby-changes:50350] nobu:r62465 (trunk): mjit.c: place DLDFLAGS at last

nobu	2018-02-18 15:21:28 +0900 (Sun, 18 Feb 2018)

  New Revision: 62465

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62465

  Log:
    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.

  Modified files:
    trunk/mjit.c
Index: mjit.c
===================================================================
--- mjit.c	(revision 62464)
+++ mjit.c	(revision 62465)
@@ -680,12 +680,7 @@ compile_c_to_so(const char *c_file, cons https://github.com/ruby/ruby/blob/trunk/mjit.c#L680
     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;
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]