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/common.hxx | |
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/common.hxx')
-rw-r--r-- | build2/cc/common.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx index 3f0f9fb..6eccf23 100644 --- a/build2/cc/common.hxx +++ b/build2/cc/common.hxx @@ -48,6 +48,7 @@ namespace build2 const variable& config_x_poptions; const variable& config_x_coptions; const variable& config_x_loptions; + const variable& config_x_aoptions; const variable& config_x_libs; const variable* config_x_importable_headers; @@ -59,12 +60,14 @@ namespace build2 const variable& x_poptions; const variable& x_coptions; const variable& x_loptions; + const variable& x_aoptions; const variable& x_libs; const variable* x_importable_headers; const variable& c_poptions; // cc.* const variable& c_coptions; const variable& c_loptions; + const variable& c_aoptions; const variable& c_libs; const variable& x_export_poptions; |