From 4feb74e22b18e06921abaa891cc947a4a15239fc Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 20 Dec 2019 13:03:12 +0100 Subject: [PATCH 1/2] Disable mozilla crashreporter for flatpak builds We have an unresolved /usr vs /app prefix issue for debuginfo generation, which currently breaks the mozilla crashreporter builds. Disable it for now to work this around. --- firefox.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firefox.spec b/firefox.spec index 4057abf..0d2fbbe 100644 --- a/firefox.spec +++ b/firefox.spec @@ -16,6 +16,9 @@ ExcludeArch: s390x %if %{build_with_asan} %global enable_mozilla_crashreporter 0 %endif +%if 0%{?flatpak} +%global enable_mozilla_crashreporter 0 +%endif %global system_nss 1 %global system_ffi 1 From 98339b512ffd198f9c805a6af937d140e823068e Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 2 Jan 2020 11:51:46 +0100 Subject: [PATCH 2/2] Disabled asan, enabled release --- firefox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firefox.spec b/firefox.spec index 0d2fbbe..b70eb0e 100644 --- a/firefox.spec +++ b/firefox.spec @@ -1,5 +1,5 @@ # Set to true if it's going to be submitted as update. -%global release_build 0 +%global release_build 1 %global debug_build 0 %global build_with_clang 0 %global build_with_asan 0