From aa18d7c370cc712e41f4b4d9f5fe91299941e2af Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Thu, 19 May 2022 22:33:57 +0200 Subject: [PATCH] Fix /usr/bin/ld: cannot find /usr/lib64/clang/13.0.0/lib/linux/libclang_rt.profile-x86_64.a: No such file or directory --- llvm.spec | 4 ++++ 1 file changed, 4 insertions(+) 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}