summaryrefslogtreecommitdiff
path: root/dev-util/elfkickers/files/elfkickers-3.1-AR.patch
blob: 6b5100c06eeee9c666ab7e2d6adeacf33015438f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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