From ebec48d67189b0765493fc171305c3ce4f6e3fba Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 27 Sep 2015 00:55:26 +0200 Subject: [PATCH] Silence annoying warnings from GNU ar In (very) modern versions of binutils, for instance v2.25.1 shipped in Ubuntu 15.10, ar complains about the VERY common `crus` argument. This patch silences this noise: $ make -j5 ARCHIVE libite.a 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 2304ece..977093d 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ $(SOLIB): Makefile $(OBJS) $(STATICLIB): Makefile $(OBJS) $(Q)$(PRINT) " ARCHIVE $@\n" - $(Q)$(AR) $(ARFLAGS) $@ $(OBJS) + $(Q)$(AR) $(ARFLAGS) $@ $(OBJS) 2>/dev/null install-exec: all $(PRINT) " INSTALL $(DESTDIR)$(libdir)/$(SOLIB)\n"