Kaynağa Gözat

Use ARFLAGS when invoking ar.

The use of ARFLAGS makes these flags overridable.
The '-U' option is already added to ARFLAGS in Make.defaults.

Signed-off-by: Janosch Hildebrand <jnosh+git@jnosh.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
Nigel Croxon 7 yıl önce
ebeveyn
işleme
08a46615c7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lib/Makefile

+ 1 - 1
lib/Makefile

@@ -75,7 +75,7 @@ libsubdirs:
 	for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
 
 libefi.a: $(OBJS)
-	$(AR) rv -U $@ $^
+	$(AR) $(ARFLAGS) $@ $^
 
 clean:
 	rm -f libefi.a *~ $(OBJS) */*.o