summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-05-16 18:32:42 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-16 18:37:57 +0100
commit5d9fb1a5e06bd4902df8b2bd0992148957089e25 (patch)
tree3a560f9b8fdbc2953d94a3478e5552886e0adb24 /dev-util/elfkickers/files
parentsci-chemistry/autodock_vina: Fix build w/ boost-1.69 (diff)
downloadgentoo-5d9fb1a5e06bd4902df8b2bd0992148957089e25.tar.gz
gentoo-5d9fb1a5e06bd4902df8b2bd0992148957089e25.tar.bz2
gentoo-5d9fb1a5e06bd4902df8b2bd0992148957089e25.zip
dev-util/elfkickers: respect user's $(AR)
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/724258 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/elfkickers/files')
-rw-r--r--dev-util/elfkickers/files/elfkickers-3.1-AR.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-util/elfkickers/files/elfkickers-3.1-AR.patch b/dev-util/elfkickers/files/elfkickers-3.1-AR.patch
new file mode 100644
index 000000000000..6b5100c06eee
--- /dev/null
+++ b/dev-util/elfkickers/files/elfkickers-3.1-AR.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/724258
+--- a/ebfc/Makefile
++++ b/ebfc/Makefile
+@@ -10,7 +10,7 @@ brainfuck.o: brainfuck.c elfparts.h ebfc.h
+
+ libelfparts.a: elfparts.o ehdr.o phdrtab.o shdrtab.o progbits.o \
+ strtab.o symtab.o hash.o rel.o got.o dynamic.o
+- ar crs libelfparts.a $^
++ $(AR) crs libelfparts.a $^
+
+ elfparts.o: elfparts.c elfparts.h gen.h
+ ehdr.o: ehdr.c elfparts.h gen.h
+--- a/elfrw/Makefile
++++ b/elfrw/Makefile
+@@ -6,7 +6,7 @@ LIBOBJS = elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o \
+ elfrw_shdr.o elfrw_sym.o elfrw_ver.o
+
+ libelfrw.a: $(LIBOBJS)
+- ar crs $@ $^
++ $(AR) crs $@ $^
+
+ elfrw.o: elfrw.c elfrw.h elfrw_int.h
+ elfrw_dyn.o: elfrw_dyn.c elfrw_int.h