summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-03-13 15:34:01 +0100
committerMartin Stransky <stransky@redhat.com>2019-03-13 15:34:01 +0100
commit295a18adced61b7f7c6a69804fe879a285170015 (patch)
tree8a8c229eafbb29369f05bc436ee6cdb703e58995 /firefox.spec
parentUse gold linker on i686 (diff)
downloadlibrewolf-fedora-ff-295a18adced61b7f7c6a69804fe879a285170015.tar.gz
librewolf-fedora-ff-295a18adced61b7f7c6a69804fe879a285170015.tar.bz2
librewolf-fedora-ff-295a18adced61b7f7c6a69804fe879a285170015.zip
Use ld on i686
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index d525abb..f44061f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -510,10 +510,10 @@ MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g0/')
export MOZ_DEBUG_FLAGS=" "
%endif
%if !0%{?build_with_clang}
-%ifarch s390 ppc aarch64
+%ifarch s390 ppc aarch64 %{ix86}
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%endif
-%ifarch %{arm} %{ix86}
+%ifarch %{arm}
MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
echo "ac_add_options --enable-linker=gold" >> .mozconfig
%endif
bgstack15