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

ruby-changes:26335

From: drbrain <ko1@a...>
Date: Sat, 15 Dec 2012 06:18:16 +0900 (JST)
Subject: [ruby-changes:26335] drbrain:r38386 (trunk): * configure.in (HAVE_GCC_ATOMIC_BUILTINS): Set -march=i486 to enable

drbrain	2012-12-15 06:18:00 +0900 (Sat, 15 Dec 2012)

  New Revision: 38386

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

  Log:
    * configure.in (HAVE_GCC_ATOMIC_BUILTINS):  Set -march=i486 to enable
      __sync_val_compare_and_swap.  Patch by KOSAKI Motohiro.
      [ruby-trunk - Bug #7485]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 38385)
+++ configure.in	(revision 38386)
@@ -1536,7 +1536,7 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.in#L1536
 [])
 
 
-AS_CASE(["$target_cpu-$target_os"], [[i[3-6]86-linux*]], [
+AS_CASE(["$target_cpu-$target_os"], [[i[3-6]86*]], [
 	 AC_CACHE_CHECK([for __sync_val_compare_and_swap], [rb_cv_gcc_compiler_cas], [
 			 AC_TRY_LINK([unsigned long atomic_var;],
 				     [
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38385)
+++ ChangeLog	(revision 38386)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Dec 15 06:15:14 2012  Eric Hodel  <drbrain@s...>
+
+	* configure.in (HAVE_GCC_ATOMIC_BUILTINS):  Set -march=i486 to enable
+	  __sync_val_compare_and_swap.  Patch by KOSAKI Motohiro.
+	  [ruby-trunk - Bug #7485]
+
 Sat Dec 15 04:25:11 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* include/ruby/intern.h: remove rb_thread_polling() declaration.

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

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