Accepting request 1072114 from devel:tools
- Fix linking with latest binutils OBS-URL: https://build.opensuse.org/request/show/1072114 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/honggfuzz?expand=0&rev=13
This commit is contained in:
commit
48bc441f3c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 13:54:11 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Fix linking with latest binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 25 12:48:49 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package honggfuzz
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -30,6 +30,7 @@ Patch1: 0002-linux-bfd-use-DIAGNOSTIC_ERROR_SWITCH-define-to-figu.patch
|
||||
Patch2: 0003-linux-bfd-cover-include-diagnostics.h-with-__has_inc.patch
|
||||
BuildRequires: binutils-devel
|
||||
BuildRequires: libunwind-devel
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
%description
|
||||
@ -42,7 +43,7 @@ evolutionary, feedback-driven fuzzing based on code coverage
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%make_build ARCH_LDFLAGS="-L/usr/local/include -L/usr/include -lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt -liberty -lz -ldl"
|
||||
%make_build ARCH_LDFLAGS="-L/usr/local/include -L/usr/include -lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt -liberty -lz -ldl -lzstd -lsframe"
|
||||
|
||||
%install
|
||||
install -Dpm 0755 %{name} \
|
||||
|
Loading…
Reference in New Issue
Block a user