diff options
| -rw-r--r-- | llvm/test/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 2c7a9c45ebf..e0881ef2162 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -455,7 +455,7 @@ if have_ld_plugin_support(): config.available_features.add('ld_plugin') def have_ld64_plugin_support(): - if (not config.llvm_tool_lto_build or config.ld64_executable == ''): + if (config.llvm_tool_lto_build == 'OFF' or config.ld64_executable == ''): return False ld_cmd = subprocess.Popen([config.ld64_executable, '-v'], stderr = subprocess.PIPE) |

