[PATCH 5/6] configure: allow picking up dwarf version for compilation from command line
Jacek Caban
jacek at codeweavers.com
Mon Oct 4 11:18:25 CDT 2021
On 10/4/21 5:07 PM, Eric Pouech wrote:
>
>> How about an easier solution: we could skip appending -gdwarf-2 if
>> any of -gdwarf-[234] options are provided in CFLAGS.
>>
> yeah, way simpler ; may even work ;-)
>
> two questions though:
>
> - is there a need to support CROSSDEBUG=dwarf ? or not specifying
> anything in CROSSDEBUG is fine
I'm not sure what you mean. It should be easy to keep it working and it
doesn't need to be specified.
>
> - when using CROSSDEBUG=pdb, I assume there's no need to the -gdwarf*
> options at the same time?
Yes, pdb implies that we're using codeview symbols, so -gdwarf* options
do not apply.
Jacek
More information about the wine-devel
mailing list