!31 修复链接libbfd问题

From: @wu-leilei 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
This commit is contained in:
openeuler-ci-bot 2023-08-17 07:32:57 +00:00 committed by Gitee
commit 28f4a22399
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: bpftrace
Version: 0.16.0
Release: 2
Release: 3
Summary: High-level tracing language for Linux eBPF
License: ASL 2.0
@ -35,6 +35,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 Aug 15 2023 wulei <wu_lei@hoperun.com> - 0.16.0-3
- Fix cannot convert 'bfd*' to 'bfd_architecture'
* Sat Jul 15 2023 cf-zhao <zhaochuanfeng@huawei.com> - 0.16.0-2
- Fix issue after clang and llvm upgrade.