summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-08-07 14:20:57 +0100
committerJosé Fonseca <[email protected]>2009-08-29 09:21:24 +0100
commit684a47f0f6a16f9a76844bcd60d8f5fb7e3d1be5 (patch)
treee15e89d1c0221f972a96f75e79520801b1b3f6fd /src/gallium/drivers/llvmpipe/SConscript
parent8988424ee8de7948e55279fe622ffdacdb6e5f8a (diff)
llvmpipe: Only get the preprocessor flags from llvm-config.
Otherwise we get -O2 optimization flag, preventing proper debugging.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/SConscript')
-rw-r--r--src/gallium/drivers/llvmpipe/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript
index 71e4e6a03f7..aca4f21b9ed 100644
--- a/src/gallium/drivers/llvmpipe/SConscript
+++ b/src/gallium/drivers/llvmpipe/SConscript
@@ -2,7 +2,7 @@ Import('*')
env = env.Clone()
-env.ParseConfig('llvm-config --cflags')
+env.ParseConfig('llvm-config --cppflags')
llvmpipe = env.ConvenienceLibrary(
target = 'llvmpipe',