!74 [sync] PR-70: add sw_64 support

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2025-03-18 05:39:06 +00:00 committed by Gitee
commit 16ccabe5ed
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 1 deletions

View File

@ -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 <mahailiang@uniontech.com> - 5.4.6-3
- add sw_64 support
* Tue Aug 13 2024 wangjiang <wangjiang37@h-partners.com> - 5.4.6-2
- fix Segmentation fault

View File

@ -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