From 7c991ac27bba679fd42f98b8e7e0eebe8e44f963 Mon Sep 17 00:00:00 2001 From: Jingyun Hua Date: Mon, 4 Sep 2023 10:57:41 +0000 Subject: [PATCH] Support loongarch64 --- lua.spec | 5 ++++- luaconf.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua.spec b/lua.spec index f59f9f3..869bb9a 100644 --- a/lua.spec +++ b/lua.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global major_version 5.4 # Normally, this is the same as version, but... not always. %global test_version 5.4.6 @@ -135,6 +135,9 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_includedir}/luaconf.h %{_libdir}/*.a %changelog +* Mon Sep 4 2023 Jingyun Hua - 5.4.6-2 +- Support loongarch64 + * Sun May 14 2023 Funda Wang - 5.4.6-1 - New version 5.4.6 diff --git a/luaconf.h b/luaconf.h index 2b10184..f7ebe97 100644 --- a/luaconf.h +++ b/luaconf.h @@ -54,6 +54,8 @@ #include "luaconf-mips.h" #elif defined(__riscv) #include "luaconf-riscv64.h" +#elif defined(__loongarch64) +#include "luaconf-loongarch64.h" #else #error "The lua-devel package is not usable with the architecture." #endif -- Gitee