mirror of
https://github.com/denoland/deno.git
synced 2025-01-09 15:48:16 -05:00
build: always enable clang color output
This commit is contained in:
parent
af3f62eedf
commit
d6a97ae4f0
2 changed files with 10 additions and 0 deletions
7
BUILD.gn
7
BUILD.gn
|
@ -34,6 +34,13 @@ config("deno_config") {
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
libs = [ "userenv.lib" ]
|
libs = [ "userenv.lib" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_clang) {
|
||||||
|
cflags = [
|
||||||
|
"-fcolor-diagnostics",
|
||||||
|
"-fansi-escape-codes",
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main_extern = [
|
main_extern = [
|
||||||
|
|
|
@ -17,6 +17,9 @@ config("flatbuffers_config") {
|
||||||
# TODO: rust branch of flatbuffers has this warning.
|
# TODO: rust branch of flatbuffers has this warning.
|
||||||
# This should be removed when the branch fixed.
|
# This should be removed when the branch fixed.
|
||||||
"-Wno-return-type",
|
"-Wno-return-type",
|
||||||
|
|
||||||
|
"-fcolor-diagnostics",
|
||||||
|
"-fansi-escape-codes",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue