From 85399cf60764b0fe54d44d4a5bacb54feae8dd62 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 21 Jun 2019 15:01:41 +0200 Subject: 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 --- build2/cc/common.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/cc/common.hxx') 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; -- cgit v1.1