[GN] Fix check-clang by disabling plugins

We can't link Analysis/plugins without -fPIC

llvm-svn: 364016
This commit is contained in:
Vitaly Buka 2019-06-21 09:54:32 +00:00
parent 9a9f05aa85
commit 4f7d3e9097
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ write_lit_config("lit_site_cfg") {
if (host_os == "win") {
extra_values += [ "LLVM_ENABLE_PLUGINS=0" ]
} else {
extra_values += [ "LLVM_ENABLE_PLUGINS=1" ]
# FIXME: Analysis/plugins need global -fPIC
extra_values += [ "LLVM_ENABLE_PLUGINS=0" ]
}
}