diff options
Diffstat (limited to 'scons')
-rw-r--r-- | scons/llvm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/llvm.py b/scons/llvm.py index 19773eaa999..4bb03872f96 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -288,6 +288,7 @@ def generate(env): llvm_version_minor = int(llvm_version.version[1]) llvm_version_hex = '0x%02x%02x' % (llvm_version_major, llvm_version_minor) env.Prepend(CPPDEFINES = [('HAVE_LLVM', llvm_version_hex)]) + env.Prepend(CPPDEFINES = [('LLVM_AVAILABLE', 1)]) env.Prepend(CPPDEFINES = [('MESA_LLVM_VERSION_STRING=\\"%s\\"' % llvm_version)]) def exists(env): |