From 02419b81b041865fa9bb359ca80d7ad4aaa52c25 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Mon, 4 May 2020 14:00:31 +0200 Subject: [PATCH] use --disable-elf-hack only on applicable archs --- firefox.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firefox.spec b/firefox.spec index 457e1cd..cd12299 100644 --- a/firefox.spec +++ b/firefox.spec @@ -2095,7 +2095,9 @@ ac_add_options --enable-default-toolkit=cairo-gtk3 ac_add_options --enable-extensions=default %{?with_geckodriver:ac_add_options --enable-geckodriver} %{?with_gold:ac_add_options --enable-linker=gold} +%ifarch %{ix86} %{x8664} %{arm} ac_add_options --disable-elf-hack +%endif %if %{with lto} ac_add_options --enable-lto %endif -- 2.44.0