2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Supress warnings from the 'ar' tool emitted on some platfroms when the

archive is created the first time.


[SVN r25005]
This commit is contained in:
Vladimir Prus
2004-09-10 12:48:18 +00:00
parent c163d1b73f
commit 3ca657177f

View File

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