diff --git a/afl.changes b/afl.changes index 78609bd..2e81611 100644 --- a/afl.changes +++ b/afl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Sep 26 11:04:42 UTC 2021 - Marcus Meissner + +- enable gcc-plugin on factory +- build with 32bit plugins on x86_64 + ------------------------------------------------------------------- Mon Jul 19 12:49:59 UTC 2021 - Marcus Meissner diff --git a/afl.spec b/afl.spec index 2de9724..e76f663 100644 --- a/afl.spec +++ b/afl.spec @@ -27,6 +27,12 @@ Source1: afl-rpmlintrc Patch1: afl-3.0c-fix-paths.patch BuildRequires: clang BuildRequires: gcc-c++ +%ifarch x86_64 +BuildRequires: gcc-32bit +%endif +%if %?suse_version >= 1550 +BuildRequires: gcc-devel +%endif BuildRequires: lld BuildRequires: llvm-devel >= 11.0.0 BuildRequires: python3-devel @@ -82,11 +88,11 @@ chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o %{_libexecdir}/%{name}/afl-llvm-rt-lto-64.o %endif %endif -%ifarch %ix86 %{arm} s390x ppc64le +%ifarch %ix86 %{arm} s390x ppc64le x86_64 %{_libexecdir}/%{name}/afl-compiler-rt-32.o %{_libexecdir}/%{name}/afl-llvm-rt-32.o %endif -%ifarch %ix86 aarch64 s390x ppc64le +%ifarch %ix86 aarch64 s390x ppc64le x86_64 %{_libexecdir}/%{name}/afl-llvm-rt-lto-32.o %endif %{_libexecdir}/%{name}/afl-compiler-rt.o