File gnu-efi-bsc978586-keep-order.patch of Package gnu-efi

diff --git a/lib/Makefile b/lib/Makefile
index 622730f..84102b6 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -73,7 +73,8 @@ all: libsubdirs libefi.a
 libsubdirs:
 	for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
 
-libefi.a: $(patsubst %,libefi.a(%),$(OBJS))
+libefi.a: $(OBJS)
+	$(AR) rv libefi.a boxdraw.o smbios.o console.o crc.o data.o debug.o dpath.o error.o event.o guid.o hw.o init.o lock.o sread.o str.o runtime/rtlock.o runtime/vm.o runtime/rtdata.o $(ARCH)/initplat.o $(ARCH)/setjmp.o $(ARCH)/efi_stub.o print.o hand.o misc.o cmdline.o runtime/efirtlib.o runtime/rtstr.o $(ARCH)/math.o $(ARCH)/callwrap.o
 
 clean:
 	rm -f libefi.a *~ $(OBJS) */*.o