forked from OSchip/llvm-project
gn build: Only build the TSan runtime on 64-bit platforms.
TSan only supports 64-bit platforms. Differential Revision: https://reviews.llvm.org/D104755
This commit is contained in:
parent
6e962fcc3d
commit
0439ba9903
|
@ -7,8 +7,10 @@ group("lib") {
|
|||
deps += [
|
||||
"//compiler-rt/lib/asan",
|
||||
"//compiler-rt/lib/builtins",
|
||||
"//compiler-rt/lib/tsan",
|
||||
"//compiler-rt/lib/ubsan_minimal",
|
||||
]
|
||||
if (current_cpu == "x64" || current_cpu == "arm64") {
|
||||
deps += [ "//compiler-rt/lib/tsan" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue