From 93d5768ceea18c1bf1a39bfdeb7a98c1ec59d5194a87a5eebc67e856e88e71a7 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 8 Jun 2021 09:11:00 +0000 Subject: [PATCH] Accepting request 898298 from openSUSE:Factory:RISCV - Fix filelist for riscv64 OBS-URL: https://build.opensuse.org/request/show/898298 OBS-URL: https://build.opensuse.org/package/show/devel:tools/afl?expand=0&rev=140 --- afl.changes | 5 +++++ afl.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/afl.changes b/afl.changes index afb150a..e24bd51 100644 --- a/afl.changes +++ b/afl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 8 09:06:11 UTC 2021 - Andreas Schwab + +- Fix filelist for riscv64 + ------------------------------------------------------------------- Tue Jun 1 10:36:06 UTC 2021 - Marcus Meissner diff --git a/afl.spec b/afl.spec index e3d3b88..719fb15 100644 --- a/afl.spec +++ b/afl.spec @@ -75,11 +75,13 @@ chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/%{name}-as %{_libexecdir}/%{name}/as -%ifarch x86_64 aarch64 ppc64 ppc64le s390x +%ifarch x86_64 aarch64 ppc64 ppc64le s390x riscv64 %{_libexecdir}/%{name}/afl-compiler-rt-64.o %{_libexecdir}/%{name}/afl-llvm-rt-64.o +%ifnarch riscv64 %{_libexecdir}/%{name}/afl-llvm-rt-lto-64.o %endif +%endif %ifarch %ix86 %{arm} %{_libexecdir}/%{name}/afl-compiler-rt-32.o %{_libexecdir}/%{name}/afl-llvm-rt-32.o @@ -89,7 +91,7 @@ chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o %endif %{_libexecdir}/%{name}/afl-compiler-rt.o %{_libexecdir}/%{name}/afl-llvm-rt.o -%ifnarch %{arm} +%ifnarch %{arm} riscv64 %{_libexecdir}/%{name}/afl-llvm-rt-lto.o %endif %{_libexecdir}/%{name}/dynamic_list.txt