diff --git a/llvm.spec b/llvm.spec index 21d538a..e6d9925 100644 --- a/llvm.spec +++ b/llvm.spec @@ -158,6 +158,10 @@ BuildRequires: python3-setuptools # For origin certification BuildRequires: gnupg2 +%if %{with pgo_instrumented_build} +BuildRequires: compiler-rt +%endif + Requires: %{name}-libs%{?_isa} = %{version}-%{release}