From ee1d2d62126c2b0fd7aafb1daf506d43a654d9a9 Mon Sep 17 00:00:00 2001 From: weigoo Date: Thu, 14 Oct 2021 11:23:49 +0800 Subject: [PATCH] Set RUSTFLAGS:debuginfo to 1 --- firefox.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/firefox.spec b/firefox.spec index 04f02ed..da130a9 100644 --- a/firefox.spec +++ b/firefox.spec @@ -88,7 +88,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 79.0 -Release: 10 +Release: 11 URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ 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} MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}" %endif -%ifarch %{arm} %{ix86} -export RUSTFLAGS="-Cdebuginfo=0" +%ifarch x86_64 aarch64 +export RUSTFLAGS="-C debuginfo=1" %endif %if %{build_with_asan} MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fsanitize=address -Dxmalloc=myxmalloc" @@ -807,6 +807,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Thu Oct 14 2021 zhangweiguo - 79.0-11 +- Set RUSTFLAGS:debuginfo to 1 + * Mon Aug 23 2021 lingsheng - 79.0-10 - Fix firefox tab crash with clone3 in glibc 2.34 -- Gitee