From db11036d1a545eefdf776ffe39d0fcec84653392 Mon Sep 17 00:00:00 2001 From: panchenbo Date: Tue, 22 Aug 2023 10:33:09 +0800 Subject: [PATCH] add sw_64 support (cherry picked from commit d52cb62719f372056b75741ca0a4b207a2c1d99b) --- lua.spec | 5 ++++- luaconf.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua.spec b/lua.spec index c943b91..e21c9f6 100644 --- a/lua.spec +++ b/lua.spec @@ -6,7 +6,7 @@ Name: lua Version: 5.4.3 -Release: 11 +Release: 12 Summary: A powerful, efficient, lightweight, embeddable scripting language License: MIT URL: http://www.lua.org/ @@ -159,6 +159,9 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U= %{_mandir}/man1/lua*.1* %changelog +* Tue Aug 22 2023 panchenbo - 5.4.3-12 +- add sw_64 support + * Tue Apr 18 2023 chenziyang - 5.4.3-11 - fix CVE-2021-45985 and other commits because CVE change heavily rely on these commits diff --git a/luaconf.h b/luaconf.h index f7ebe97..e714bfa 100644 --- a/luaconf.h +++ b/luaconf.h @@ -38,6 +38,8 @@ #include "luaconf-arm.h" #elif defined(__alpha__) #include "luaconf-alpha.h" +#elif defined(__sw_64) +#include "luaconf-sw_64.h" #elif defined(__sparc__) && defined (__arch64__) #include "luaconf-sparc64.h" #elif defined(__sparc__) -- Gitee