From f392a1271e9e8b638b2b8e2fb1d249a23bbcde84 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 1 Sep 2005 08:04:48 +0000 Subject: [PATCH] Remove the 'u' modifier from 'ar' invocation, which is not needed now that we remove archive before invoking 'ar'. [SVN r30768] --- v2/tools/gcc.jam | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v2/tools/gcc.jam b/v2/tools/gcc.jam index c6ef6dae6..ba42290eb 100644 --- a/v2/tools/gcc.jam +++ b/v2/tools/gcc.jam @@ -309,16 +309,16 @@ actions link bind LIBRARIES RM = [ common.rm-command ] ; # 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 'r' letter means to add files to the archive with replacement +# Since we remove archive, we don't care about replacement, but +# there's no option "add without replacement". # 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 { $(RM) "$(<)" - ar ruc "$(<)" "$(>)" + ar rc "$(<)" "$(>)" }