summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-12-09 20:16:07 +0100
committerMartin Stransky <stransky@redhat.com>2019-12-09 20:16:07 +0100
commit1eccbd6ca353ec2ea576f966e0cdbba17c037fd6 (patch)
tree4b0981836f5da584a7a625e3ace96e219e3a32a2 /firefox.spec
parentBuild with asan (diff)
downloadlibrewolf-fedora-ff-1eccbd6ca353ec2ea576f966e0cdbba17c037fd6.tar.gz
librewolf-fedora-ff-1eccbd6ca353ec2ea576f966e0cdbba17c037fd6.tar.bz2
librewolf-fedora-ff-1eccbd6ca353ec2ea576f966e0cdbba17c037fd6.zip
ASAN - disable elfhack on intel only
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 705b2b4..395bbd5 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -463,8 +463,10 @@ echo "ac_add_options --disable-ion" >> .mozconfig
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
bgstack15