diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-21 15:01:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-21 15:01:41 +0200 |
commit | 85399cf60764b0fe54d44d4a5bacb54feae8dd62 (patch) | |
tree | 8d0bead9007ab1f92c6214e9a0062ff78c798876 /build2/cc/module.cxx | |
parent | 131b0a852e70ecd198c4f769aff1435639cd35c6 (diff) |
Add support for [config.]{cc,c,cxx}.aoptions (archive options)
In particular, this can be used to suppress lib.exe warnings, for example:
cc.aoptions += /IGNORE:4221
Diffstat (limited to 'build2/cc/module.cxx')
-rw-r--r-- | build2/cc/module.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx index aa775ae..00c5aa9 100644 --- a/build2/cc/module.cxx +++ b/build2/cc/module.cxx @@ -520,6 +520,9 @@ namespace build2 rs.assign (x_loptions) += cast_null<strings> ( config::optional (rs, config_x_loptions)); + rs.assign (x_aoptions) += cast_null<strings> ( + config::optional (rs, config_x_aoptions)); + rs.assign (x_libs) += cast_null<strings> ( config::optional (rs, config_x_libs)); |