!48 Set RUSTFLAGS:debuginfo to 1

From: @weigoooo
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-10-14 12:26:00 +00:00 committed by Gitee
commit f953257f11

View File

@ -88,7 +88,7 @@
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 79.0 Version: 79.0
Release: 10 Release: 11
URL: https://www.mozilla.org/firefox/ URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz
@ -496,8 +496,8 @@ echo "ac_add_options --enable-linker=gold" >> .mozconfig
%if 0%{?flatpak} %if 0%{?flatpak}
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}" MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
%endif %endif
%ifarch %{arm} %{ix86} %ifarch x86_64 aarch64
export RUSTFLAGS="-Cdebuginfo=0" export RUSTFLAGS="-C debuginfo=1"
%endif %endif
%if %{build_with_asan} %if %{build_with_asan}
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fsanitize=address -Dxmalloc=myxmalloc" MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fsanitize=address -Dxmalloc=myxmalloc"
@ -807,6 +807,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif %endif
%changelog %changelog
* Thu Oct 14 2021 zhangweiguo <zhangweiguo2@huawei.com> - 79.0-11
- Set RUSTFLAGS:debuginfo to 1
* Mon Aug 23 2021 lingsheng <lingsheng@huawei.com> - 79.0-10 * Mon Aug 23 2021 lingsheng <lingsheng@huawei.com> - 79.0-10
- Fix firefox tab crash with clone3 in glibc 2.34 - Fix firefox tab crash with clone3 in glibc 2.34