diff options
author | Martin Stransky <stransky@redhat.com> | 2019-12-10 09:20:26 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2019-12-10 09:20:26 +0100 |
commit | 3c3474681505d65beba8fc27a949de076aafb358 (patch) | |
tree | 2ad7574abcd5887e366e45fde426b627cb005aab /firefox.spec | |
parent | ASAN - disable elfhack on intel only (diff) | |
download | librewolf-fedora-ff-3c3474681505d65beba8fc27a949de076aafb358.tar.gz librewolf-fedora-ff-3c3474681505d65beba8fc27a949de076aafb358.tar.bz2 librewolf-fedora-ff-3c3474681505d65beba8fc27a949de076aafb358.zip |
Fix for asan build
Diffstat (limited to 'firefox.spec')
-rw-r--r-- | firefox.spec | 8 |
1 files changed, 3 insertions, 5 deletions
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 |