SHA256
1
0
forked from pool/afl

Accepting request 921492 from home:msmeissn:branches:devel:tools

- enable gcc-plugin on factory
- build with 32bit plugins on x86_64

OBS-URL: https://build.opensuse.org/request/show/921492
OBS-URL: https://build.opensuse.org/package/show/devel:tools/afl?expand=0&rev=144
This commit is contained in:
Marcus Meissner 2021-09-26 11:20:54 +00:00 committed by Git OBS Bridge
parent c1a3bf576f
commit 9d4f843ab9
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 26 11:04:42 UTC 2021 - Marcus Meissner <meissner@suse.com>
- enable gcc-plugin on factory
- build with 32bit plugins on x86_64
-------------------------------------------------------------------
Mon Jul 19 12:49:59 UTC 2021 - Marcus Meissner <meissner@suse.com>

View File

@ -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