From e6a30a3041cf3f5c2d030b840e37833cd909bd91 Mon Sep 17 00:00:00 2001 From: Hailiang Date: Thu, 11 Sep 2025 16:09:21 +0800 Subject: [PATCH] fix sw_64 build error (cherry picked from commit 37fabab5a427158b5bb4a88c00e15b3a2e9715ab) --- AFLplusplus.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/AFLplusplus.spec b/AFLplusplus.spec index efc53be..3e9b4bc 100644 --- a/AFLplusplus.spec +++ b/AFLplusplus.spec @@ -2,7 +2,7 @@ Name: AFLplusplus Version: 4.10c Summary: Practical, instrumentation-driven fuzzer for binary formats License: Apache 2.0 -Release: 3 +Release: 4 URL: https://github.com/AFLplusplus/AFLplusplus Source0: https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v%{version}.tar.gz @@ -112,9 +112,9 @@ mv $RPM_BUILD_ROOT%{_pkgdocdir} pkg-docs %else %{afl_helper_path}/afl-compiler-rt-64.o %endif -# LoongArch64 clang compiler can compile afl-compiler-rt-32.o on 64_bit platform. +# LoongArch64 sw_64 clang compiler can compile afl-compiler-rt-32.o on 64_bit platform. # For details, see compile log. -%ifarch loongarch64 +%ifarch loongarch64 sw_64 %exclude %{afl_helper_path}/afl-compiler-rt-32.o %endif %{afl_helper_path}/afl-compiler-rt.o @@ -203,6 +203,12 @@ mv $RPM_BUILD_ROOT%{_pkgdocdir} pkg-docs %changelog +* Thu Sep 11 2025 mahailiang - 4.10c-4 +- Type: compile +- ID:T NA +- SUG: NA +- DESC: Fix build error on sw_64 + * Wed May 29 2024 yueyuankun - 4.10c-3 - Type: compile - ID:T NA -- Gitee