summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-03-03 15:28:36 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-03-03 15:28:36 +0000
commit8987109c27899273bffca941c48b466218ba56ea (patch)
tree8e3cfb9245ff9b0f91cf596d46e54ff23a329ebc
parent118ecb1a2226494929a87c36b7802b64451ca004 (diff)
scons: Always load lex/yacc tool.
lex/yacc is not loaded by default when toolchain is not default either, e.g., when toolchain=crossmingw.
-rwxr-xr-xscons/gallium.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 112f6c89dc..34523d5898 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -598,6 +598,8 @@ def generate(env):
env.Append(LIBS = [])
# Load tools
+ env.Tool('lex')
+ env.Tool('yacc')
if env['llvm']:
env.Tool('llvm')
env.Tool('udis86')