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>
This commit is contained in:
parent
99d94682de
commit
08a46615c7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user