!18 [sync] PR-16: fix abort on startup caused by llvm compiler

From: @openeuler-sync-bot 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-09-15 07:08:13 +00:00 committed by Gitee
commit fe696cfb61
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: bpftrace
Version: 0.14.1
Release: 2
Release: 3
Summary: High-level tracing language for Linux eBPF
License: ASL 2.0
@ -36,7 +36,8 @@ and predecessor tracers such as DTrace and SystemTap.
%cmake . \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_TESTING:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=OFF
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DENABLE_LLVM_SHARED=1
%make_build
@ -64,6 +65,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
%changelog
* Thu Jun 9 2022 LemmyHuang <huangliming5@huawei.com> - 0.14.1-3
- fix abort on startup caused by llvm compiler
* Sat May 7 2022 liyanan <liyanan32@h-partners.com> - 0.14.1-2
- Fix 'bpftrace symbols are stripped'