1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

gn build: color linker errors when using lld

llvm-svn: 369951
This commit is contained in:
Nico Weber 2019-08-26 19:22:41 +00:00
parent a390fff954
commit 595b0b9782

View File

@ -42,6 +42,9 @@ config("compiler_defaults") {
cflags += [ "-O3" ]
}
cflags += [ "-fdiagnostics-color" ]
if (use_lld) {
ldflags += [ "-Wl,--color-diagnostics" ]
}
cflags_cc = [
"-std=c++14",
"-fvisibility-inlines-hidden",