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:
parent
c1a3bf576f
commit
9d4f843ab9
@ -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>
|
Mon Jul 19 12:49:59 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
10
afl.spec
10
afl.spec
@ -27,6 +27,12 @@ Source1: afl-rpmlintrc
|
|||||||
Patch1: afl-3.0c-fix-paths.patch
|
Patch1: afl-3.0c-fix-paths.patch
|
||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
%ifarch x86_64
|
||||||
|
BuildRequires: gcc-32bit
|
||||||
|
%endif
|
||||||
|
%if %?suse_version >= 1550
|
||||||
|
BuildRequires: gcc-devel
|
||||||
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld
|
||||||
BuildRequires: llvm-devel >= 11.0.0
|
BuildRequires: llvm-devel >= 11.0.0
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -82,11 +88,11 @@ chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o
|
|||||||
%{_libexecdir}/%{name}/afl-llvm-rt-lto-64.o
|
%{_libexecdir}/%{name}/afl-llvm-rt-lto-64.o
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifarch %ix86 %{arm} s390x ppc64le
|
%ifarch %ix86 %{arm} s390x ppc64le x86_64
|
||||||
%{_libexecdir}/%{name}/afl-compiler-rt-32.o
|
%{_libexecdir}/%{name}/afl-compiler-rt-32.o
|
||||||
%{_libexecdir}/%{name}/afl-llvm-rt-32.o
|
%{_libexecdir}/%{name}/afl-llvm-rt-32.o
|
||||||
%endif
|
%endif
|
||||||
%ifarch %ix86 aarch64 s390x ppc64le
|
%ifarch %ix86 aarch64 s390x ppc64le x86_64
|
||||||
%{_libexecdir}/%{name}/afl-llvm-rt-lto-32.o
|
%{_libexecdir}/%{name}/afl-llvm-rt-lto-32.o
|
||||||
%endif
|
%endif
|
||||||
%{_libexecdir}/%{name}/afl-compiler-rt.o
|
%{_libexecdir}/%{name}/afl-compiler-rt.o
|
||||||
|
Loading…
Reference in New Issue
Block a user