summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-03-12 21:01:12 +0100
committerMartin Stransky <stransky@redhat.com>2019-03-12 21:01:12 +0100
commitd4b223825ffd0e1e3c09e07937c9b20af8b3d21f (patch)
treec4a0875920ebd51aff877af0bd2e284e8a31b9ce
parentBuildRequire nasm >= 1.13 for libav1 (diff)
downloadlibrewolf-fedora-ff-d4b223825ffd0e1e3c09e07937c9b20af8b3d21f.tar.gz
librewolf-fedora-ff-d4b223825ffd0e1e3c09e07937c9b20af8b3d21f.tar.bz2
librewolf-fedora-ff-d4b223825ffd0e1e3c09e07937c9b20af8b3d21f.zip
i686 build tweaks
-rw-r--r--firefox.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 3350036..7234e85 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -503,13 +503,14 @@ MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
# (OOM when linking, rhbz#1238225)
export MOZ_DEBUG_FLAGS=" "
%endif
-%ifarch %{arm}
+%ifarch %{arm} %{ix86}
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}
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+echo "ac_add_options --enable-linker=gold" >> .mozconfig
%endif
%ifarch %{arm}
MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
bgstack15