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

ruby-changes:33269

From: nobu <ko1@a...>
Date: Sun, 16 Mar 2014 13:21:53 +0900 (JST)
Subject: [ruby-changes:33269] nobu:r45348 (trunk): configure.in: insert a space for non-GCC

nobu	2014-03-16 13:21:48 +0900 (Sun, 16 Mar 2014)

  New Revision: 45348

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45348

  Log:
    configure.in: insert a space for non-GCC
    
    * configure.in (DLDFLAGS): insert a space between option and its
      argument for non-GCC compilers.  [ruby-core:61429] [Bug #9624]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 45347)
+++ configure.in	(revision 45348)
@@ -2772,9 +2772,10 @@ if test "$with_dln_a_out" != yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L2772
     AS_CASE(["$target_os"],
       [darwin*], [
 	for flag in \
-	  "${linker_flag}-undefined${linker_flag:+,}dynamic_lookup" \
-	  "${linker_flag}-multiply_defined${linker_flag:+,}suppress" \
+	  "-undefined dynamic_lookup" \
+	  "-multiply_defined suppress" \
 	  ; do
+	  test "x${linker_flag}" = x || flag="${linker_flag}${flag// /,}"
 	  RUBY_TRY_LDFLAGS([$flag], [], [flag=])
 	  if test "x$flag" != x; then
 	    RUBY_APPEND_OPTIONS(DLDFLAGS, [$flag])
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45347)
+++ ChangeLog	(revision 45348)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Mar 16 13:21:40 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (DLDFLAGS): insert a space between option and its
+	  argument for non-GCC compilers.  [ruby-core:61429] [Bug #9624]
+
 Sun Mar 16 08:05:06 2014  Eric Wong  <e@8...>
 
 	* gc.c (objspace_xcalloc): fix GC accounting

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

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