Fix build error on loongarch64
This commit is contained in:
parent
2f97390af4
commit
6504bbe2ad
@ -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 <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
|
||||
- Type: Update
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user