1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
drbrain 2012-12-14 21:18:00 +00:00
parent 2d5fc17f14
commit 40f89c17e6
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Sat Dec 15 06:15:14 2012 Eric Hodel <drbrain@segment7.net>
* 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@gmail.com>
* include/ruby/intern.h: remove rb_thread_polling() declaration.

View file

@ -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;],
[