!9 [sync] PR-5: Disable mold for riscv64

From: @openeuler-sync-bot 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
This commit is contained in:
openeuler-ci-bot 2024-04-11 09:31:16 +00:00 committed by Gitee
commit 8d5984d7a2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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