From 03958a0c0d0140a2c27f8e3175f9c118425c762c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 23 Jul 2019 18:22:25 +0900 Subject: Relaxed target_os matching When target_alias is not empty, `-gnu` suffixed is not stripped. [Bug #16015] --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9703591af7..6142716785 100644 --- a/configure.ac +++ b/configure.ac @@ -2260,14 +2260,14 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [ [x*64-darwin*], [ rb_cv_coroutine=amd64 ], - [x*64-linux], [ + [x*64-linux*], [ AS_CASE(["$ac_cv_sizeof_voidp"], [8], [ rb_cv_coroutine=amd64 ], [4], [ rb_cv_coroutine=x86 ], [*], [ rb_cv_coroutine= ] ) ], - [*86-linux], [ + [*86-linux*], [ rb_cv_coroutine=x86 ], [x64-mingw32], [ @@ -2276,13 +2276,13 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [ [*86-mingw32], [ rb_cv_coroutine=win32 ], - [armv7*-linux-*], [ + [armv7*-linux*], [ rb_cv_coroutine=ucontext ], - [aarch64-linux], [ + [aarch64-linux*], [ rb_cv_coroutine=arm64 ], - [powerpc64le-linux], [ + [powerpc64le-linux*], [ rb_cv_coroutine=ppc64le ], [x86_64-openbsd*], [ -- cgit v1.2.3