From 1640e10e435906e7300a422c7b4c71a4094fff38 Mon Sep 17 00:00:00 2001 From: NotTsunami <4589807+NotTsunami@users.noreply.github.com> Date: Tue, 19 Nov 2019 15:49:40 -0500 Subject: [PATCH] lib.mk: Remove incorrect u flag from ar We work in deterministic mode by default, so timestamps are zeroed, thus it is impossible to check timestamps and insert only newer members. Silences the following autotools warning: ar: `u' modifier ignored since `D' is the default (see `U') https://sourceware.org/binutils/docs/binutils/ar-cmdline.html --- build/lib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/lib.mk b/build/lib.mk index 4f818e7c..12bcb410 100644 --- a/build/lib.mk +++ b/build/lib.mk @@ -38,7 +38,7 @@ ifeq ($(CC),gcc) GCC_INLINE = -finline-functions endif NASM = nasm -LINK = ar cru +LINK = ar cr OBJPATH = $(topdir)/objs LIBPATH = $(OBJPATH)/$(BUILD)/lib DEBUG_LIBPATH = $(OBJPATH)/debug/lib