67650e
From 08a46615c70f5af195443fcf5d0fd425fa329096 Mon Sep 17 00:00:00 2001
67650e
From: Nigel Croxon <ncroxon@redhat.com>
67650e
Date: Mon, 7 Aug 2017 13:32:54 -0400
67650e
Subject: [PATCH 02/25] Use ARFLAGS when invoking ar.
67650e
67650e
The use of ARFLAGS makes these flags overridable.
67650e
The '-U' option is already added to ARFLAGS in Make.defaults.
67650e
67650e
Signed-off-by: Janosch Hildebrand <jnosh+git@jnosh.com>
67650e
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
67650e
---
67650e
 lib/Makefile | 2 +-
67650e
 1 file changed, 1 insertion(+), 1 deletion(-)
67650e
67650e
diff --git a/lib/Makefile b/lib/Makefile
67650e
index b8d1ce70d48..0e6410dac55 100644
67650e
--- a/lib/Makefile
67650e
+++ b/lib/Makefile
67650e
@@ -75,7 +75,7 @@ libsubdirs:
67650e
 	for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
67650e
 
67650e
 libefi.a: $(OBJS)
67650e
-	$(AR) rv -U $@ $^
67650e
+	$(AR) $(ARFLAGS) $@ $^
67650e
 
67650e
 clean:
67650e
 	rm -f libefi.a *~ $(OBJS) */*.o
67650e
-- 
67650e
2.15.0
67650e