summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn7
1 files changed, 7 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 038e70430..50346dfed 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -34,6 +34,13 @@ config("deno_config") {
if (is_win) {
libs = [ "userenv.lib" ]
}
+
+ if (is_clang) {
+ cflags = [
+ "-fcolor-diagnostics",
+ "-fansi-escape-codes",
+ ]
+ }
}
main_extern = [