Re: [Mesa-dev] cflags mess with llvm builds

2010-10-05 Thread Dan Nicholson
On Tue, Oct 5, 2010 at 7:56 AM, Xavier Chantry wrote: > On Sun, Sep 26, 2010 at 10:42 PM, Dan Nicholson wrote: >> >> Normally you do that because if the user has custom include paths, you >> want them to be at the beginning of the command line. >> >> It'd be nice if the llvm people could just use

Re: [Mesa-dev] cflags mess with llvm builds

2010-10-05 Thread Xavier Chantry
On Sun, Sep 26, 2010 at 10:42 PM, Dan Nicholson wrote: > > Normally you do that because if the user has custom include paths, you > want them to be at the beginning of the command line. > > It'd be nice if the llvm people could just use pkg-config instead of > rolling their own config tool. I thou

Re: [Mesa-dev] cflags mess with llvm builds

2010-09-26 Thread Dan Nicholson
On Sat, Sep 25, 2010 at 12:24 PM, Xavier Chantry wrote: > On Fri, Sep 24, 2010 at 11:36 PM, Xavier Chantry > wrote: >> On Fri, Sep 24, 2010 at 3:15 PM, Luca Barbieri >> wrote: >>> Yes, that used to happen for me too. >>> >>> Just edit llvm-config to remove the offending text and ideally file a

Re: [Mesa-dev] cflags mess with llvm builds

2010-09-25 Thread Xavier Chantry
On Fri, Sep 24, 2010 at 11:36 PM, Xavier Chantry wrote: > On Fri, Sep 24, 2010 at 3:15 PM, Luca Barbieri wrote: >> Yes, that used to happen for me too. >> >> Just edit llvm-config to remove the offending text and ideally file a >> bug on the LLVM bug tracker. >> > > looks like nobled did this for

Re: [Mesa-dev] cflags mess with llvm builds

2010-09-24 Thread Xavier Chantry
On Fri, Sep 24, 2010 at 3:15 PM, Luca Barbieri wrote: > Yes, that used to happen for me too. > > Just edit llvm-config to remove the offending text and ideally file a > bug on the LLVM bug tracker. > looks like nobled did this for me : http://llvm.org/bugs/show_bug.cgi?id=8220 thanks :) It's sti

Re: [Mesa-dev] cflags mess with llvm builds

2010-09-24 Thread Luca Barbieri
Yes, that used to happen for me too. Just edit llvm-config to remove the offending text and ideally file a bug on the LLVM bug tracker. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] cflags mess with llvm builds

2010-09-24 Thread Julien Cristau
On Fri, Sep 24, 2010 at 14:06:51 +0200, Xavier Chantry wrote: > When gallium llvm is enabled, configure.ac does the following : > LLVM_CFLAGS=`$LLVM_CONFIG --cflags` > > This is the result on my system : > -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS > -D__STDC_CONSTANT_MACROS -O2

[Mesa-dev] cflags mess with llvm builds

2010-09-24 Thread Xavier Chantry
When gallium llvm is enabled, configure.ac does the following : LLVM_CFLAGS=`$LLVM_CONFIG --cflags` This is the result on my system : -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fPIC I specifically set -O0 to easier gdb debugging