[Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory
Kenneth Graunke
kenneth at whitecape.org
Wed Jun 13 10:44:35 PDT 2012
On 06/13/2012 08:52 AM, Brian Paul wrote:
> 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?
Eric, did you have a patch to convert src/mesa/main to automake? That
would also solve this problem...get rid of makedepend :)
>> 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
Yeah, I agree - we want it to happen automatically. It currently
doesn't, though, so in the meantime...
More information about the mesa-dev
mailing list