summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2016-12-14 17:05:34 +0000
committerDerek Schuff <dschuff@google.com>2016-12-14 17:05:34 +0000
commitebd8110aa1c49d3873be91eb28da5cb9d3cd9beb (patch)
treec498e671962ee538ae8f5c072c806b1e47483b16 /llvm
parent4fe99e143173199c9ee2ba45ad91c1c4f6e692c5 (diff)
downloadbcm5719-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
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/lit.cfg2
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)
OpenPOWER on IntegriCloud