diff options
Diffstat (limited to 'newmoon/newmoon.spec')
-rw-r--r-- | newmoon/newmoon.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newmoon/newmoon.spec b/newmoon/newmoon.spec index 12789da..96b271b 100644 --- a/newmoon/newmoon.spec +++ b/newmoon/newmoon.spec @@ -124,11 +124,11 @@ sed -i -r -e '/enable-optimize/s/"\s*$/ -Wno-format-overflow"/' ./.mozconfig %patch0 -p1 %patch1 -p1 %patch2 -p1 -# Only do LTO on Fedora and RHEL8 -%if 0%{?fedora} >= 33 || 0%{?rhel} >= 8 +# Only do LTO on Fedora +%if 0%{?fedora} >= 33 %patch3 -p1 %else -# we ned to remove the LTO options from the mozconfig for RHEL7 +# we ned to remove the LTO options from the mozconfig for RHEL7 and RHEL8 sed -i -r -e '/START EXPERIMENT1/,/END EXPERIMENT1/d' ./.mozconfig %endif |