diff --git a/AFLplusplus.spec b/AFLplusplus.spec index 38ffd4d52ef59c3e5cd551e60ff004a4171113b4..efc53beaeb707ff55493e7571e7fe8711797a06f 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: 2 +Release: 3 URL: https://github.com/AFLplusplus/AFLplusplus Source0: https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v%{version}.tar.gz @@ -112,6 +112,11 @@ 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. +# For details, see compile log. +%ifarch loongarch64 +%exclude %{afl_helper_path}/afl-compiler-rt-32.o +%endif %{afl_helper_path}/afl-compiler-rt.o %{afl_helper_path}/afl-gcc-cmplog-pass.so %{afl_helper_path}/afl-gcc-cmptrs-pass.so @@ -198,6 +203,12 @@ mv $RPM_BUILD_ROOT%{_pkgdocdir} pkg-docs %changelog +* Wed May 29 2024 yueyuankun - 4.10c-3 +- Type: compile +- ID:T NA +- SUG: NA +- DESC: Fix build error on loongarch64 + * Thu Apr 25 2024 liyancheng <412998149@qq.com> - 4.10c-2 - Type: Update - ID: NA