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 <[email protected]>
---
 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
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to