summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-09-22 18:02:59 +0200
committerMartin Stransky <stransky@redhat.com>2020-09-22 18:02:59 +0200
commitda0238f524527cc32848f03a759062db07fe863a (patch)
treef5b6374aef4ed8ecdc6b46d1938f16e53e37651a /firefox.spec
parentDisable LTO to work around firefox build failing in F33+ (diff)
downloadlibrewolf-fedora-ff-da0238f524527cc32848f03a759062db07fe863a.tar.gz
librewolf-fedora-ff-da0238f524527cc32848f03a759062db07fe863a.tar.bz2
librewolf-fedora-ff-da0238f524527cc32848f03a759062db07fe863a.zip
Disabled PGO for Fedora33+
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index e9efc16..9253e31 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -45,7 +45,9 @@ ExcludeArch: armv7hl
%global build_with_pgo 0
%ifarch x86_64
%if %{release_build}
-%global build_with_pgo 1
+%if 0%{?fedora} < 33
+%global build_with_pgo 0
+%endif
%endif
# Build PGO builds on Wayland backend
%global pgo_wayland 0
bgstack15