diff --git a/lua.spec b/lua.spec index 55ed186..29b057b 100644 --- a/lua.spec +++ b/lua.spec @@ -6,7 +6,7 @@ Name: lua Version: 5.4.6 -Release: 2 +Release: 3 Summary: A powerful, efficient, lightweight, embeddable scripting language License: MIT URL: http://www.lua.org/ @@ -132,6 +132,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.6-3 +- add sw_64 support + * Tue Aug 13 2024 wangjiang - 5.4.6-2 - fix Segmentation fault 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