From 77658b7773c6e7f20fc0102a50edd2743682bf1e Mon Sep 17 00:00:00 2001 From: Hailiang Date: Fri, 14 Mar 2025 18:30:55 +0800 Subject: [PATCH] add sw_64 support (cherry picked from commit 01c9faaa8fb8388846a642aac6d09a155608ec56) --- lua.spec | 5 ++++- luaconf.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua.spec b/lua.spec index 2fb0bad..2a9d830 100644 --- a/lua.spec +++ b/lua.spec @@ -2,7 +2,7 @@ Name: lua Version: 5.4.7 -Release: 1 +Release: 2 Summary: A powerful, efficient, lightweight, embeddable scripting language License: MIT URL: https://www.lua.org/ @@ -115,6 +115,9 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U= %{_mandir}/man1/lua*.1* %changelog +* Fri Mar 14 2025 mahailiang - 5.4.7-2 +- add sw_64 support + * Sat Sep 28 2024 Funda Wang - 5.4.7-1 - update to version 5.4.7 diff --git a/luaconf.h b/luaconf.h index f7ebe97..4b0b9d7 100644 --- a/luaconf.h +++ b/luaconf.h @@ -56,6 +56,8 @@ #include "luaconf-riscv64.h" #elif defined(__loongarch64) #include "luaconf-loongarch64.h" +#elif defined(__sw_64__) +#include "luaconf-sw_64.h" #else #error "The lua-devel package is not usable with the architecture." #endif -- Gitee