[Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory

Brian Paul brianp at vmware.com
Wed Jun 13 08:52:43 PDT 2012


On 06/13/2012 02:05 AM, Chris Rankin wrote:
> Hi,
>
> Ah, so "\file" is for doxygen? I did wonder whether it could be
> something other than a typo :-).
>
> My dependency problem happens only for the file main/dlist.c, and only
> on my T60p. I have *absolutely no idea* why makedepend goes off the
> deep-end only on this machine and not on any of my others. Perhaps
> someone with makedepend wisdom could shed some light, please?
>
> As for my other 64/32 bit problem:
>
>  > You'll want to do:
>  > CFLAGS='-m32 -O2 -g -gdwarf-2' CXXFLAGS='-m32 -O2 -g -gdwarf-2
>  > ./autogen.sh .... --enable-32-bit
>
> Shouldn't the "-m32" flag be implicit in the --enable-32-bit option?
> I'm only adding an explicit CFLAGS to ensure Mesa is built with debug
> symbols ("just in case").

Yes, we shouldn't need to specify CFLAGS=-m32 if --enable-32-bit is 
specified.  I think someone was looking into that.

Similar story for --enable-debug.  We shouldn't need CFLAGS=-g to omit 
the -O2 flag.

-Brian


More information about the mesa-dev mailing list