!7 【openEuler-24.03-LTS】 修复 openEuler-24.03-LTS-everything:loongarch 构建错误

From: @yue-yuankun 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2024-12-13 01:25:58 +00:00 committed by Gitee
commit 85853d8526
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@ Name: AFLplusplus
Version: 4.10c Version: 4.10c
Summary: Practical, instrumentation-driven fuzzer for binary formats Summary: Practical, instrumentation-driven fuzzer for binary formats
License: Apache 2.0 License: Apache 2.0
Release: 2 Release: 3
URL: https://github.com/AFLplusplus/AFLplusplus URL: https://github.com/AFLplusplus/AFLplusplus
Source0: https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v%{version}.tar.gz 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 %else
%{afl_helper_path}/afl-compiler-rt-64.o %{afl_helper_path}/afl-compiler-rt-64.o
%endif %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-compiler-rt.o
%{afl_helper_path}/afl-gcc-cmplog-pass.so %{afl_helper_path}/afl-gcc-cmplog-pass.so
%{afl_helper_path}/afl-gcc-cmptrs-pass.so %{afl_helper_path}/afl-gcc-cmptrs-pass.so
@ -198,6 +203,12 @@ mv $RPM_BUILD_ROOT%{_pkgdocdir} pkg-docs
%changelog %changelog
* Wed May 29 2024 yueyuankun <yueyuankun@kylinos.cn> - 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 * Thu Apr 25 2024 liyancheng <412998149@qq.com> - 4.10c-2
- Type: Update - Type: Update
- ID: NA - ID: NA