summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDC <devnexen@gmail.com>2021-08-15 13:31:54 +0100
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-08-16 12:06:46 +1200
commitf8f6d9895d9593ed3d8f552da3ae2d261ff28135 (patch)
tree9d55405a8520c89f1168c7aeeffef0651d1b5fa0 /configure.ac
parent164f50dea918e7019847f578c3cffb079993d626 (diff)
coroutine use asm version for handful of architectures for freebsd.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4744
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d018e8a6f4..755e556ac1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2536,6 +2536,15 @@ AS_CASE([$coroutine_type], [yes|''], [
[riscv64-linux*], [
coroutine_type=riscv64
],
+ [x86_64-freebsd*], [
+ coroutine_type=amd64
+ ],
+ [i386-freebsd*], [
+ coroutine_type=x86
+ ],
+ [aarch64-freebsd*], [
+ coroutine_type=arm64
+ ],
[x86_64-openbsd*], [
coroutine_type=amd64
],