From 694e2b5ab97bc6da2676ab1fdae2b298adadbf8e Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 16 Sep 2015 18:04:06 +0200 Subject: [PATCH] Silence annoying warnings from GNU ar In (very) modern versions of binutils, for instance v2.25.1 in Ubuntu 15.10, complain about VERY common `crus` argument. This patch attempts to silence this noise: $ make -j5 CC uev.o CC io.o CC timer.o CC signal.o ARCHIVE libuev.a LINK libuev.so.1 ar: `u' modifier ignored since `D' is the default (see `U') Signed-off-by: Joachim Nilsson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 791ae86..531dbd2 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ $(SOLIB): Makefile $(OBJS) $(STATICLIB): Makefile $(OBJS) @printf " ARCHIVE $@\n" - @$(AR) $(ARFLAGS) $@ $(OBJS) + @$(AR) $(ARFLAGS) $@ $(OBJS) 2>/dev/null install-exec: all @printf " INSTALL $(DESTDIR)$(libdir)/$(SOLIB)\n"