summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-12-06 13:46:13 +0100
committerMartin Stransky <stransky@redhat.com>2018-12-06 13:46:13 +0100
commit2b7d6819bc90dddb90ce62d62dc69032e4c455d3 (patch)
tree428e771d823a40fa977f3dfc296b508442da9dfc /firefox.spec
parentMerge branch 'master' into f28 (diff)
downloadlibrewolf-fedora-ff-2b7d6819bc90dddb90ce62d62dc69032e4c455d3.tar.gz
librewolf-fedora-ff-2b7d6819bc90dddb90ce62d62dc69032e4c455d3.tar.bz2
librewolf-fedora-ff-2b7d6819bc90dddb90ce62d62dc69032e4c455d3.zip
lld build fix
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 4cbaa3f..bdfcb8e 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -549,9 +549,11 @@ MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
# (OOM when linking, rhbz#1238225)
export MOZ_DEBUG_FLAGS=" "
%endif
+%if !0%{?build_with_clang}
%ifarch s390 %{arm} ppc aarch64 %{ix86}
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%endif
+%endif
%ifarch %{arm}
export RUSTFLAGS="-Cdebuginfo=0"
%endif
bgstack15