diff options
author | Eric Engestrom <[email protected]> | 2019-08-28 00:56:24 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-09-06 22:19:01 +0100 |
commit | ef434fbc25c479863b612f67bee6a4f3ef65cd39 (patch) | |
tree | e26fee2aafe2d308fd8d6e962fee96f1681b417a /scons | |
parent | 5aebe37b53fb18d2923a5810f8c5733b879dc477 (diff) |
meson/scons/android: add LLVM_AVAILABLE binary flag
Signed-off-by: Eric Engestrom <[email protected]>
Acked-by: Michel Dänzer <[email protected]>
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): |