2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 13:42:14 +00:00

Remove the 'u' modifier from 'ar' invocation, which is not needed

now that we remove archive before invoking 'ar'.


[SVN r30768]
This commit is contained in:
Vladimir Prus
2005-09-01 08:04:48 +00:00
parent 26b3f2fc3a
commit f392a1271e

View File

@@ -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 "$(<)" "$(>)"
}