From 3c3474681505d65beba8fc27a949de076aafb358 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 10 Dec 2019 09:20:26 +0100 Subject: Fix for asan build --- firefox.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'firefox.spec') diff --git a/firefox.spec b/firefox.spec index 395bbd5..5da0be5 100644 --- a/firefox.spec +++ b/firefox.spec @@ -9,9 +9,11 @@ ExcludeArch: armv7hl # Disabled due to https://pagure.io/fedora-infrastructure/issue/7581 ExcludeArch: s390x +%global enable_mozilla_crashreporter 0 %ifarch x86_64 %{ix86} %global enable_mozilla_crashreporter 1 -%else +%endif +%if %{build_with_asan} %global enable_mozilla_crashreporter 0 %endif @@ -462,10 +464,6 @@ echo "ac_add_options --disable-ion" >> .mozconfig %if %{build_with_asan} echo "ac_add_options --enable-address-sanitizer" >> .mozconfig echo "ac_add_options --disable-jemalloc" >> .mozconfig -echo "ac_add_options --disable-crashreporter" >> .mozconfig -%ifarch x86_64 %{ix86} -echo "ac_add_options --disable-elf-hack" >> .mozconfig -%endif %endif echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig -- cgit