summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-03-13 09:41:12 +0100
committerMartin Stransky <stransky@redhat.com>2019-03-13 09:41:12 +0100
commitd79b33b6417e8286526da76b0f69886cb3671835 (patch)
treeb0b42e481e02e25dcfcc61a6fc99e7335c316288
parentRebase and apply the PipeWire patch (diff)
downloadlibrewolf-fedora-ff-d79b33b6417e8286526da76b0f69886cb3671835.tar.gz
librewolf-fedora-ff-d79b33b6417e8286526da76b0f69886cb3671835.tar.bz2
librewolf-fedora-ff-d79b33b6417e8286526da76b0f69886cb3671835.zip
Use gold linker on i686
-rw-r--r--firefox.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec
index 3d36981..d525abb 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -510,11 +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 %{ix86}
+%ifarch s390 ppc aarch64
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
-echo "ac_add_options --enable-linker=gold" >> .mozconfig
%endif
-%ifarch %{arm}
+%ifarch %{arm} %{ix86}
MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
echo "ac_add_options --enable-linker=gold" >> .mozconfig
%endif
bgstack15