diff options
| author | Derek Schuff <dschuff@google.com> | 2016-12-14 17:05:34 +0000 |
|---|---|---|
| committer | Derek Schuff <dschuff@google.com> | 2016-12-14 17:05:34 +0000 |
| commit | ebd8110aa1c49d3873be91eb28da5cb9d3cd9beb (patch) | |
| tree | c498e671962ee538ae8f5c072c806b1e47483b16 | |
| parent | 4fe99e143173199c9ee2ba45ad91c1c4f6e692c5 (diff) | |
| download | bcm5719-llvm-ebd8110aa1c49d3873be91eb28da5cb9d3cd9beb.tar.gz bcm5719-llvm-ebd8110aa1c49d3873be91eb28da5cb9d3cd9beb.zip | |
lit.cfg: Check value of build config rather than converting to boolean
This is a CMake var which never evaluates to false.
llvm-svn: 289673
| -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) |

