From: José Fonseca Date: Fri, 7 Aug 2009 13:20:57 +0000 (+0100) Subject: llvmpipe: Only get the preprocessor flags from llvm-config. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=684a47f0f6a16f9a76844bcd60d8f5fb7e3d1be5;p=mesa.git llvmpipe: Only get the preprocessor flags from llvm-config. Otherwise we get -O2 optimization flag, preventing proper debugging. --- 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',