Skip to content

Commit b6af79e

Browse files
tstellarkwk
authored andcommitted
Disable PGO on RHEL
We don't want to enable this on RHEL until LLVM 21.
1 parent 04d85f9 commit b6af79e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
%ifarch %{ix86}
9999
%bcond_with pgo
100100
%else
101-
%if 0%{?fedora} >= 43 || 0%{?rhel} >= 9
101+
%if 0%{?fedora} >= 43 || (0%{?rhel} >= 9 && %{maj_ver} >= 21)
102102
%bcond_without pgo
103103
%else
104104
%bcond_with pgo

0 commit comments

Comments
 (0)