From 40f89c17e688d5b25e5dea93d8f4cc6ac61f744f Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 14 Dec 2012 21:18:00 +0000 Subject: * configure.in (HAVE_GCC_ATOMIC_BUILTINS): Set -march=i486 to enable __sync_val_compare_and_swap. Patch by KOSAKI Motohiro. [ruby-trunk - Bug #7485] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ configure.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 248b7f417c..8f9936e2da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Dec 15 06:15:14 2012 Eric Hodel + + * 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 * include/ruby/intern.h: remove rb_thread_polling() declaration. diff --git a/configure.in b/configure.in index b38869c9fb..eda9de8641 100644 --- a/configure.in +++ b/configure.in @@ -1536,7 +1536,7 @@ AS_CASE(["$target_os"], []) -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;], [ -- cgit v1.2.3