summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2016-11-22 17:01:35 -0800
committerVinson Lee <[email protected]>2016-11-24 13:37:33 -0800
commitf07da5aa5e2e6021f02104235429b670f6b468ec (patch)
treecb507050618b004789cc72595fa58ae3ee6d4851 /common.py
parenta794f0901719eb2689cbbabd5724fa89a2cfecd2 (diff)
scons: Recognize LLVM_CONFIG environment variable.
Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'common.py')
-rw-r--r--common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.py b/common.py
index 704ad2e4d58..24a7e8a611d 100644
--- a/common.py
+++ b/common.py
@@ -59,7 +59,7 @@ if target_platform == 'windows' and host_platform != 'windows':
# find default_llvm value
-if 'LLVM' in os.environ:
+if 'LLVM' in os.environ or 'LLVM_CONFIG' in os.environ:
default_llvm = 'yes'
else:
default_llvm = 'no'