add sw_64 support

(cherry picked from commit d52cb62719f372056b75741ca0a4b207a2c1d99b)
This commit is contained in:
panchenbo 2023-08-22 10:33:09 +08:00 committed by openeuler-sync-bot
parent 9788b313db
commit 6d07eaad41
2 changed files with 6 additions and 1 deletions

View File

@ -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 <panchenbo@kylinsec.com.cn> - 5.4.3-12
- add sw_64 support
* Tue Apr 18 2023 chenziyang <chenziyang4@huawei.com> - 5.4.3-11
- fix CVE-2021-45985 and other commits because CVE change heavily rely on these commits

View File

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