From 9ffd5873cf217307557e20e8a4360c4994630146 Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Fri, 13 Sep 2019 14:46:23 +0300 Subject: [PATCH] build/CI/packaging: Support MIPS64 builds. This adds support for building for mips64* architectures by using the --use-cc-builtins configure option for ConcurrencyKit. Which is a temporary workaround until proper MIPS supported is implemented in CK upstream. Closes GH-318. --- m4/sb_concurrency_kit.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/sb_concurrency_kit.m4 b/m4/sb_concurrency_kit.m4 index b5dbf14..ebaf793 100644 --- a/m4/sb_concurrency_kit.m4 +++ b/m4/sb_concurrency_kit.m4 @@ -57,6 +57,9 @@ AS_IF([test "x$sb_cv_lib_ck" = "xsystem"], i686*) CK_CONFIGURE_FLAGS="--platform=i686" ;; + mips64*) + CK_CONFIGURE_FLAGS="--use-cc-builtins" + ;; esac # Add --enable-lse to CK build flags, if LSE instructions are supported by # the target architecture