Disable mold for riscv64

(cherry picked from commit 0198d873db31ead88b170090e3b091cc50ee1ba9)
This commit is contained in:
misaka00251 2024-04-11 15:59:09 +08:00 committed by openeuler-sync-bot
parent 3ea2ee3d87
commit a3c6032f30

View File

@ -19,12 +19,12 @@
%endif
%ifarch riscv64
%global build_mold 1
%global build_mold 0
%endif
Name: mozjs%{major}
Version: 102.9.0
Release: 2
Release: 3
Summary: SpiderMonkey JavaScript library
License: MPL-2.0 AND Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT AND GPL-3.0-or-later
URL: https://hg.mozilla.org/releases/mozilla-esr102
@ -253,6 +253,9 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%{_includedir}/mozjs-%{major}/
%changelog
* Thu Apr 11 2024 misaka00251 <liuxin@iscas.ac.cn> - 102.9.0-3
- Disable mold for riscv64
* Thu Mar 28 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 102.9.0-2
- fix build error for loongarch64