llvmpipe: Only get the preprocessor flags from llvm-config.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 7 Aug 2009 13:20:57 +0000 (14:20 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 29 Aug 2009 08:21:24 +0000 (09:21 +0100)
Otherwise we get -O2 optimization flag, preventing proper debugging.

src/gallium/drivers/llvmpipe/SConscript

index 71e4e6a03f779e4c30b6584e45b30866735ae87d..aca4f21b9ed9d095f6a7b75e00add7befcea6691 100644 (file)
@@ -2,7 +2,7 @@ Import('*')
 
 env = env.Clone()
 
-env.ParseConfig('llvm-config --cflags')
+env.ParseConfig('llvm-config --cppflags')
 
 llvmpipe = env.ConvenienceLibrary(
        target = 'llvmpipe',