From 684a47f0f6a16f9a76844bcd60d8f5fb7e3d1be5 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 7 Aug 2009 14:20:57 +0100 Subject: llvmpipe: Only get the preprocessor flags from llvm-config. Otherwise we get -O2 optimization flag, preventing proper debugging. --- src/gallium/drivers/llvmpipe/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript index 71e4e6a03f..aca4f21b9e 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', -- cgit v1.2.3