From 8f6dc916b60611d30bd3ed50e1862087a019ff06 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Fri, 4 Aug 2023 14:46:27 +0200 Subject: [PATCH] added aarch64 configure.ac --- src/runtime/c/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/runtime/c/configure.ac b/src/runtime/c/configure.ac index d8e55c164..2af669fe2 100644 --- a/src/runtime/c/configure.ac +++ b/src/runtime/c/configure.ac @@ -43,8 +43,10 @@ case "$target_cpu" in [Define if lightning is targeting the sparc architecture]) ;; powerpc) cpu=ppc; AC_DEFINE(LIGHTNING_PPC, 1, [Define if lightning is targeting the powerpc architecture]) ;; - arm*) cpu=arm; AC_DEFINE(LIGHTNING_ARM, 1, + arm*) cpu=arm; AC_DEFINE(LIGHTNING_ARM, 1, [Define if lightning is targeting the arm architecture]) ;; + aarch64) cpu=aarch64; AC_DEFINE(LIGHTNING_AARCH64, 1, + [Define if lightning is targeting the aarch64 architecture]) ;; *) AC_MSG_ERROR([cpu $target_cpu not supported]) ;; esac