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

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