From e421fa29e11e73bc19ef759ff15e352ff0f8aa27 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Tue, 29 Oct 2024 21:03:39 +0800 Subject: [PATCH] fix build error on loongarch64 (cherry picked from commit 0e0cba69e84e827f879c164c52875d138c9cc54f) --- bpftrace.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bpftrace.spec b/bpftrace.spec index 6fac9bd..97412f5 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -1,6 +1,6 @@ Name: bpftrace Version: 0.19.1 -Release: 1 +Release: 2 Summary: High-level tracing language for Linux eBPF License: ASL 2.0 @@ -9,7 +9,7 @@ Source0: %{url}/archive/refs/tags/v%{version}.tar.gz # Arches will be included as upstream support is added and dependencies are # satisfied in the respective arches -ExclusiveArch: x86_64 %{power64} aarch64 riscv64 +ExclusiveArch: x86_64 %{power64} aarch64 riscv64 loongarch64 BuildRequires: gcc-c++ bison flex cmake elfutils-libelf-devel BuildRequires: zlib-devel llvm-devel clang clang-tools-extra clang-devel llvm-test @@ -68,6 +68,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %changelog +* Tue Oct 29 2024 Wenlong Zhang - 0.19.1-2 +- fix build error on loongarch64 + * Mon Jan 08 2024 Paul Thomas - 0.19.1-1 - update to version 0.19.1 -- Gitee