diff options
author | B. Stack <bgstack15@gmail.com> | 2021-11-11 08:24:42 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-11-11 08:24:42 -0500 |
commit | 6e867426fa85e240dce1a06ddcb283cbe74f44c1 (patch) | |
tree | c3a3578cf6606e59150f4d47c7c354ec9e37b61e /newmoon/newmoon.spec | |
parent | add -include limits to CXXFLAGs for fc34+ (diff) | |
download | stackrpms-6e867426fa85e240dce1a06ddcb283cbe74f44c1.tar.gz stackrpms-6e867426fa85e240dce1a06ddcb283cbe74f44c1.tar.bz2 stackrpms-6e867426fa85e240dce1a06ddcb283cbe74f44c1.zip |
no lto for RHEL8 (gcc 8)
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 |