aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-09 10:06:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-09 10:06:08 +0200
commit272437d0680dc39607140fc041bac9d3cdfbd626 (patch)
tree474ea3bec1873df694fcfedb8cb1f91e0914b7ce /libbuild2/cc/link-rule.cxx
parentd24c10ce02654454ec1ea60bdfa32e34e2091bf0 (diff)
Enable diagnostics color in GCC and Clang
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r--libbuild2/cc/link-rule.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index 4588ce1..99aa421 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -3687,6 +3687,8 @@ namespace build2
{
ld = &cpath;
+ append_diag_color_options (args);
+
// Add the option that triggers building a shared library and
// take care of any extras (e.g., import library).
//