summaryrefslogtreecommitdiffstats
path: root/scons/llvm.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-29 14:24:52 +0100
committerJosé Fonseca <[email protected]>2010-09-29 14:24:52 +0100
commite3a3a5378e4a1b45f30fcb26730d6c73e623cfac (patch)
tree70b879c69e35d89fe0216509d82fd15f603bed72 /scons/llvm.py
parent67450f0644f61fc17ab1315124dfe50537d36e9e (diff)
scons: New build= option, with support for checked builds.
Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
Diffstat (limited to 'scons/llvm.py')
-rw-r--r--scons/llvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/llvm.py b/scons/llvm.py
index d88d6e3a5ad..39fbb910b6d 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -124,7 +124,7 @@ def generate(env):
# Some of the LLVM C headers use the inline keyword without
# defining it.
env.Append(CPPDEFINES = [('inline', '__inline')])
- if env['debug']:
+ if env['build'] in ('debug', 'checked'):
# LLVM libraries are static, build with /MT, and they
# automatically link agains LIBCMT. When we're doing a
# debug build we'll be linking against LIBCMTD, so disable