1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 07:39:15 -05:00

build: always enable clang color output

This commit is contained in:
Bert Belder 2018-09-24 12:20:00 -07:00
parent af3f62eedf
commit d6a97ae4f0
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
2 changed files with 10 additions and 0 deletions

View file

@ -34,6 +34,13 @@ config("deno_config") {
if (is_win) {
libs = [ "userenv.lib" ]
}
if (is_clang) {
cflags = [
"-fcolor-diagnostics",
"-fansi-escape-codes",
]
}
}
main_extern = [

View file

@ -17,6 +17,9 @@ config("flatbuffers_config") {
# TODO: rust branch of flatbuffers has this warning.
# This should be removed when the branch fixed.
"-Wno-return-type",
"-fcolor-diagnostics",
"-fansi-escape-codes",
]
}
}