Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] util_lib: Silence ar informational message
@ 2015-10-08 23:21 Geoff Levand
  2015-10-16  1:38 ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Geoff Levand @ 2015-10-08 23:21 UTC (permalink / raw)
  To: Simon Horman; +Cc: kexec

Add the -c option to ar to silence the informational
message 'ar creating libutil.a'.  ar outputs this
message to stderr, and some tools interpret this as
a build warning.

Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 util_lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util_lib/Makefile b/util_lib/Makefile
index 54ccdc5..15b84e5 100644
--- a/util_lib/Makefile
+++ b/util_lib/Makefile
@@ -18,5 +18,5 @@ $(UTIL_LIB): CPPFLAGS += -I$(srcdir)/util_lib/include
 
 $(UTIL_LIB): $(UTIL_LIB_OBJS)
 	@$(MKDIR) -p $(@D)
-	$(AR) rs $(UTIL_LIB) $(UTIL_LIB_OBJS)
+	$(AR) rs -c $(UTIL_LIB) $(UTIL_LIB_OBJS)
 
-- 
2.5.0


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-20  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 23:21 [PATCH 2/2] util_lib: Silence ar informational message Geoff Levand
2015-10-16  1:38 ` Simon Horman
2015-10-19 19:30   ` Geoff Levand
2015-10-20  1:23     ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox