From 3ca657177f9bbd259c8abec862ad10c58f155df7 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 10 Sep 2004 12:48:18 +0000 Subject: [PATCH] Supress warnings from the 'ar' tool emitted on some platfroms when the archive is created the first time. [SVN r25005] --- v2/tools/gcc.jam | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/v2/tools/gcc.jam b/v2/tools/gcc.jam index fe52ac6fe..760a47a9a 100644 --- a/v2/tools/gcc.jam +++ b/v2/tools/gcc.jam @@ -187,9 +187,15 @@ actions link bind LIBRARIES } # Declare action for creating static libraries +# The 'r' letter means to replace files in the archive +# The 'u' letter means only outdated files in the archive +# should be replaced. +# The 'c' letter means suppresses warning in case the archive +# does not exists yet. That warning is produced only on +# some platforms, for whatever reasons. actions piecemeal archive { - ar ur "$(<)" "$(>)" + ar ruc "$(<)" "$(>)" }