Accepting request 868691 from home:marxin:branches:Kernel:kdump

- Add eppic-binutils-fix.patch in order to not used 'l' option for
  ar. It has a new meaning.

OBS-URL: https://build.opensuse.org/request/show/868691
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/eppic?expand=0&rev=18
This commit is contained in:
Petr Tesařík 2021-02-02 16:41:27 +00:00 committed by Git OBS Bridge
parent 646f65b8c0
commit e99bfc9b5f
3 changed files with 21 additions and 0 deletions

13
eppic-binutils-fix.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/libeppic/Makefile b/libeppic/Makefile
index 1f97800..4ef7101 100644
--- a/libeppic/Makefile
+++ b/libeppic/Makefile
@@ -101,7 +101,7 @@ default: $(TARGETS)
$(CFILES): $(HFILES) eppic.tab.h
$(TARGETS): $(OFILES)
- $(AR) ccurl $(TARGETS) $(OFILES)
+ $(AR) cur $(TARGETS) $(OFILES)
clean:
-/bin/rm -f *.o $(TARGETS) $(LDIRT)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 2 08:29:23 UTC 2021 - Martin Liška <mliska@suse.cz>
- Add eppic-binutils-fix.patch in order to not used 'l' option for
ar. It has a new meaning.
-------------------------------------------------------------------
Tue Jun 9 13:58:20 UTC 2020 - David Mair <dmair@suse.com>

View File

@ -30,6 +30,7 @@ Source: %{name}-git%{git_commit}.tar.bz2
Patch1: %{name}-fix-install.patch
Patch2: %{name}-no-return.patch
Patch3: %{name}-use-extern-in-devel-declaration.patch
Patch4: %{name}-binutils-fix.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: ncurses-devel
@ -61,6 +62,7 @@ This package provides the include files and libraries needed for development.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects