- Fix linking with latest binutils

OBS-URL: https://build.opensuse.org/package/show/devel:tools/honggfuzz?expand=0&rev=27
This commit is contained in:
Martin Pluskal 2023-03-15 13:54:27 +00:00 committed by Git OBS Bridge
parent 20cb796de7
commit aca6da4ce5
2 changed files with 8 additions and 2 deletions

View File

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

View File

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