fix build error on sw_64 mips64el

(cherry picked from commit c04ef4c9315614cf17d6eb7269a718e7c1dd5b79)
This commit is contained in:
Hailiang 2025-03-06 18:16:26 +08:00 committed by openeuler-sync-bot
parent 83e624d27d
commit c6764132d1

View File

@ -1,12 +1,12 @@
Name: libipt Name: libipt
Version: 2.1 Version: 2.1
Release: 2 Release: 3
Summary: Intel(R) Processor Trace Decoder Library Summary: Intel(R) Processor Trace Decoder Library
License: BSD License: BSD
URL: https://github.com/intel/libipt URL: https://github.com/intel/libipt
Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz
BuildRequires: gcc-c++ cmake BuildRequires: gcc-c++ cmake
ExclusiveArch: %{ix86} x86_64 loongarch64 ExclusiveArch: %{ix86} x86_64 loongarch64 sw_64 mips64el
%description %description
The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference
@ -17,7 +17,7 @@ or it can be partially or fully integrated into your tool.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
ExclusiveArch: %{ix86} x86_64 loongarch64 ExclusiveArch: %{ix86} x86_64 loongarch64 sw_64 mips64el
%description devel %description devel
This package contains the development files for Intel Processor Trace (Intel PT) This package contains the development files for Intel Processor Trace (Intel PT)
@ -51,6 +51,9 @@ ctest -V %{?_smp_mflags}
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%changelog %changelog
* Thu Mar 06 2025 mahailiang <mahailiang@uniontech.com> - 2.1-3
- fix build error on sw_64 mips64el
* Tue Oct 29 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.1-2 * Tue Oct 29 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.1-2
- fix build error on loongarch64 - fix build error on loongarch64