diff --git a/eppic-binutils-fix.patch b/eppic-binutils-fix.patch new file mode 100644 index 0000000..ca2d403 --- /dev/null +++ b/eppic-binutils-fix.patch @@ -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) diff --git a/eppic.changes b/eppic.changes index 27e65dc..2718dd2 100644 --- a/eppic.changes +++ b/eppic.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 08:29:23 UTC 2021 - Martin Liška + +- 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 diff --git a/eppic.spec b/eppic.spec index 1327775..563d740 100644 --- a/eppic.spec +++ b/eppic.spec @@ -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