From 272437d0680dc39607140fc041bac9d3cdfbd626 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 9 Dec 2022 10:06:08 +0200 Subject: Enable diagnostics color in GCC and Clang --- libbuild2/cc/link-rule.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/cc/link-rule.cxx') 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). // -- cgit v1.1