Blame SOURCES/0002-Use-ARFLAGS-when-invoking-ar.patch

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