From f8e463b4dad8cafc8835ab72d642166f8ce8050d Mon Sep 17 00:00:00 2001 From: Hailiang Date: Thu, 11 Sep 2025 16:16:12 +0800 Subject: [PATCH] fix sw_64 build error (cherry picked from commit b877fd88f01c85218cb2227bff6fed6d929116c4) --- AFLplusplus.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/AFLplusplus.spec b/AFLplusplus.spec index 87ffae8..cf107c6 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: 4 +Release: 5 URL: https://github.com/AFLplusplus/AFLplusplus Source0: https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v%{version}.tar.gz @@ -113,9 +113,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 @@ -204,6 +204,12 @@ mv $RPM_BUILD_ROOT%{_pkgdocdir} pkg-docs %changelog +* Thu Sep 11 2025 mahailiang - 4.10c-5 +- Type: compile +- ID:T NA +- SUG: NA +- DESC: Fix build error on sw_64 + * Fri Feb 7 2025 liyancheng <412998149@qq.com> - 4.10c-4 - Type: Bugfix - ID: NA -- Gitee