Merge branch 'llvm-cliptest-viewport'
[mesa.git] / scons / llvm.py
index d88d6e3a5ad68ed58bc220c544258a25289b8774..39fbb910b6d55685271cc39e392a11d7de05fac5 100644 (file)
@@ -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