fix abort on startup caused by llvm compiler

Signed-off-by: LemmyHuang <huangliming5@huawei.com>
(cherry picked from commit c41670a166908a84baace12631df132df30eef67)
This commit is contained in:
LemmyHuang 2022-06-09 10:23:57 +08:00 committed by openeuler-sync-bot
parent 85cfe475cc
commit 99c9da00b6

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'