summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qemu-accel.spec.in')
-rw-r--r--packaging/qemu-accel.spec.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index 1824470..5037080 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -64,6 +64,8 @@ BuildRequires: icecream
BuildRequires: libunwind
BuildRequires: libuuid
BuildRequires: clang
+# required for LLVM gold plugin
+BuildRequires: llvm-devel
Summary: Native binaries for speeding up cross compile
License: GPL-2.0
Group: Development/Cross Compilation
@@ -204,7 +206,9 @@ prepare_package_list all \
$binaries
prepare_package_list clang \
- %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*}
+ %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} \
+ %{_libdir}/libLTO.so* \
+ %{_libdir}/LLVMgold.so*
prepare_package_list python \
%{_bindir}/${host_python} \