From 08db52aee6911e131e2b97a5a3424fd689bb2ad7 Mon Sep 17 00:00:00 2001 From: hefq343 Date: Tue, 2 Jul 2024 08:07:37 +0000 Subject: [PATCH] Fix cannot convert bfd* to bfd_architecture Signed-off-by: hefq343 --- bpftrace.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bpftrace.spec b/bpftrace.spec index 95210e9..6b09cc3 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -1,6 +1,6 @@ Name: bpftrace Version: 0.14.1 -Release: 4 +Release: 5 Summary: High-level tracing language for Linux eBPF License: ASL 2.0 @@ -36,6 +36,7 @@ and predecessor tracers such as DTrace and SystemTap. %build %cmake . \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DLIBBFD_LIBRARIES="${LIBBFD}" \ -DBUILD_TESTING:BOOL=OFF \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DENABLE_LLVM_SHARED=1 @@ -66,6 +67,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %changelog +* Tue Jul 2 2024 hefq343 - 0.14.1-5 +- Fix cannot convert 'bfd*' to 'bfd_architecture' + * Fri Nov 11 2022 xu_ping - 0.14.1-4 - Use a functional interface depending on the version to fix build error -- Gitee