add support for LoongArch

(cherry picked from commit 9255caa48a2ac34c40be7e7e3a8a282ffa762501)
This commit is contained in:
lyn1001 2022-12-26 14:30:56 +08:00 committed by openeuler-sync-bot
parent bf0e21a786
commit 66ad2dee5a
2 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,7 @@
Name: lua
Version: 5.4.3
Release: 9
Release: 10
Summary: A powerful, efficient, lightweight, embeddable scripting language
License: MIT
URL: http://www.lua.org/
@ -141,6 +141,9 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U=
%{_mandir}/man1/lua*.1*
%changelog
* Mon Dec 26 2022 liyanan <liyanan32@h-partners.com> - 5.4.3-10
- add support for LoongArch
* Wed Sep 21 2022 renhongxun <renhongxun@h-partners.com> - 5.4.3-9
- bugfix with upstream patch

View File

@ -54,6 +54,8 @@
#include "luaconf-mips.h"
#elif defined(__riscv)
#include "luaconf-riscv64.h"
#elif defined(__loongarch64)
#include "luaconf-loongarch64.h"
#else
#error "The lua-devel package is not usable with the architecture."
#endif