From 61bfff70202695ab8472e8439dffe7671e07a83d Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 21 Sep 2024 01:02:54 +0300 Subject: [PATCH] fix: aarch64 is not supported, should set ARCH to RELIC_NONE --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f3c682316..16139e5de 100644 --- a/configure.ac +++ b/configure.ac @@ -418,10 +418,10 @@ if [[[ "$host_cpu" == x86_64 && "$use_optimizations" == "yes" ]]]; then AC_DEFINE([ARCH], [X64], [Architecture.]) AC_DEFINE([WSIZE], [64], [Size of word in this architecture.]) elif [[[ "$host_cpu" == aarch* && "$use_optimizations" == "yes" ]]]; then - dnl Relic doesn't support aarch64 yet, set CPU_ARCH to none. dnl Support for 64-bit ARM processors + dnl Relic doesn't support aarch64 yet, set CPU_ARCH to none and ARCH to RELIC_NONE. CPU_ARCH="none" - AC_DEFINE([ARCH], [ARM], [Architecture.]) + AC_DEFINE([ARCH], [RELIC_NONE], [Architecture.]) AC_DEFINE([WSIZE], [64], [Size of word in this architecture.]) elif [[[ "$host_cpu" == i?86 && "$use_optimizations" == "yes" ]]]; then dnl Support for Intel x86 processors