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

ruby-changes:21879

From: nobu <ko1@a...>
Date: Fri, 2 Dec 2011 15:18:33 +0900 (JST)
Subject: [ruby-changes:21879] nobu:r33928 (trunk): * configure.in: use $linker_flag for LDFLAGS option which is not

nobu	2011-12-02 15:18:21 +0900 (Fri, 02 Dec 2011)

  New Revision: 33928

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

  Log:
    * configure.in: use $linker_flag for LDFLAGS option which is not
      limited to particular platforms.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 33927)
+++ configure.in	(revision 33928)
@@ -2346,9 +2346,9 @@
     [freebsd*|dragonfly*], [],
     [
      if test "$GCC" = yes; then
-       RUBY_TRY_LDFLAGS([-Wl,--no-undefined], [no_undefined=yes], [no_undefined=no])
+       RUBY_TRY_LDFLAGS([${linker_flag}--no-undefined], [no_undefined=yes], [no_undefined=no])
        if test "no_undefined" = yes; then
-	  RUBY_APPEND_OPTION(EXTLDFLAGS, [-Wl,--no-undefined])
+	  RUBY_APPEND_OPTION(EXTLDFLAGS, [${linker_flag}--no-undefined])
        fi
      fi
     ])
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33927)
+++ ChangeLog	(revision 33928)
@@ -1,3 +1,8 @@
+Fri Dec  2 15:18:18 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in: use $linker_flag for LDFLAGS option which is not
+	  limited to particular platforms.
+
 Thu Dec  1 23:21:58 2011  CHIKANAGA Tomoyuki  <nagachika00@g...>
 
 	* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) only if

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

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