add support for LoongArch
(cherry picked from commit 9255caa48a2ac34c40be7e7e3a8a282ffa762501)
This commit is contained in:
parent
bf0e21a786
commit
66ad2dee5a
5
lua.spec
5
lua.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: lua
|
Name: lua
|
||||||
Version: 5.4.3
|
Version: 5.4.3
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: A powerful, efficient, lightweight, embeddable scripting language
|
Summary: A powerful, efficient, lightweight, embeddable scripting language
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.lua.org/
|
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*
|
%{_mandir}/man1/lua*.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 21 2022 renhongxun <renhongxun@h-partners.com> - 5.4.3-9
|
||||||
- bugfix with upstream patch
|
- bugfix with upstream patch
|
||||||
|
|
||||||
|
|||||||
@ -54,6 +54,8 @@
|
|||||||
#include "luaconf-mips.h"
|
#include "luaconf-mips.h"
|
||||||
#elif defined(__riscv)
|
#elif defined(__riscv)
|
||||||
#include "luaconf-riscv64.h"
|
#include "luaconf-riscv64.h"
|
||||||
|
#elif defined(__loongarch64)
|
||||||
|
#include "luaconf-loongarch64.h"
|
||||||
#else
|
#else
|
||||||
#error "The lua-devel package is not usable with the architecture."
|
#error "The lua-devel package is not usable with the architecture."
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user