summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-11-18 21:14:37 +0100
committerMartin Stransky <stransky@redhat.com>2020-11-18 21:14:37 +0100
commit44d3de1ecdea437a96034fc400d77f0a344aab73 (patch)
treed14f7ece11040463b099917fbc74646035341e43 /firefox.spec
parentEnable all arches (diff)
downloadlibrewolf-fedora-ff-44d3de1ecdea437a96034fc400d77f0a344aab73.tar.gz
librewolf-fedora-ff-44d3de1ecdea437a96034fc400d77f0a344aab73.tar.bz2
librewolf-fedora-ff-44d3de1ecdea437a96034fc400d77f0a344aab73.zip
Enabled LTO
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/firefox.spec b/firefox.spec
index ea0751d..628803f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -1,5 +1,5 @@
# Set to true if it's going to be submitted as update.
-%global release_build 0
+%global release_build 1
%global debug_build 0
%global build_with_clang 0
%global build_with_asan 0
@@ -10,7 +10,7 @@
# There are still build problems on s390x, see
# https://koji.fedoraproject.org/koji/taskinfo?taskID=55048351
# https://bugzilla.redhat.com/show_bug.cgi?id=1897522
-#ExcludeArch: s390x
+ExcludeArch: s390x
#ExcludeArch: armv7hl
#ExcludeArch: aarch64
@@ -525,7 +525,7 @@ chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
%build
# Disable LTO to work around rhbz#1883904
-%define _lto_cflags %{nil}
+# %define _lto_cflags %{nil}
%if 0%{?use_bundled_cbindgen}
@@ -641,9 +641,7 @@ echo "ac_add_options MOZ_PGO=1" >> .mozconfig
# Fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1671345
# Should be in Firefox 83
# Temporary disabled due to https://bugzilla.redhat.com/show_bug.cgi?id=1893474
-#%if 0%{?fedora} > 31
-#echo "ac_add_options --enable-lto" >> .mozconfig
-#%endif
+echo "ac_add_options --enable-lto" >> .mozconfig
# PGO build doesn't work with ccache
export CCACHE_DISABLE=1
bgstack15