fix build error for loongarch64
(cherry picked from commit 21809c288d41498af2fb69e4493ab2038e45a072)
This commit is contained in:
parent
16b90110de
commit
8a69118972
@ -45,7 +45,7 @@
|
||||
Summary: Mozilla Firefox Web browser
|
||||
Name: firefox
|
||||
Version: 128.3.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
URL: https://www.mozilla.org/firefox/
|
||||
License: MPL-1.1 or GPL-2.0-or-later or LGPL-2.0-or-later
|
||||
Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz
|
||||
@ -539,6 +539,7 @@ mkdir -p my_rust_vendor
|
||||
cd my_rust_vendor
|
||||
%{__tar} xf %{SOURCE2}
|
||||
mkdir -p .cargo
|
||||
%ifnarch loongarch64
|
||||
cat > .cargo/config <<EOL
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
@ -546,6 +547,7 @@ replace-with = "vendored-sources"
|
||||
[source.vendored-sources]
|
||||
directory = "`pwd`"
|
||||
EOL
|
||||
%endif
|
||||
|
||||
%ifarch aarch64
|
||||
#export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"
|
||||
@ -930,6 +932,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Oct 22 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 128.3.0-3
|
||||
- fix build error for loongarch64
|
||||
|
||||
* Wed Oct 09 2024 wangkai <13474090681@163.com> - 128.3.0-2
|
||||
- Fix CVE-2024-9680
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user