diff options
author | Vinson Lee <vlee@freedesktop.org> | 2016-11-22 17:01:35 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2016-11-24 13:37:33 -0800 |
commit | f07da5aa5e2e6021f02104235429b670f6b468ec (patch) | |
tree | cb507050618b004789cc72595fa58ae3ee6d4851 /common.py | |
parent | a794f0901719eb2689cbbabd5724fa89a2cfecd2 (diff) | |
download | mesa-f07da5aa5e2e6021f02104235429b670f6b468ec.tar.gz |
scons: Recognize LLVM_CONFIG environment variable.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 2 |
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' |