[FFmpeg-devel] [PATCH] build: make out-of-tree builds bit-identical to in-tree builds

Hendrik Leppkes h.leppkes at gmail.com
Sat Jan 23 01:34:48 CET 2016


On Fri, Jan 22, 2016 at 12:33 AM, Andreas Cadhalpun
<andreas.cadhalpun at googlemail.com> wrote:
> On 16.01.2016 02:29, Michael Niedermayer wrote:
>> On Mon, Dec 28, 2015 at 10:12:56PM +0100, Andreas Cadhalpun wrote:
>>> Previously the full source path was embedded inconsistently in the debug
>>> information between in-tree/out-of-tree builds.
>>>
>>> The 'vpath %.inc' becomes necessary for finding
>>> libavfilter/all_channel_layouts.inc in out-of-tree builds.
>>>
>>> The full source path is still embedded in the debug information, but
>>> it's now independent of whether building in-tree or out-of-tree.
>>>
>>> The biggest improvement of this patch is that gdb now always searches
>>> for the path relative to the source directory. It still also searches
>>> for the full path.
>>> Previously it searched only for the full path in out-of-tree builds,
>>> making the debug information generated by Debian's buildds rather hard
>>> to use.
>>
>> i am in favor of this being fixed, and the patch seems to work here
>> iam no makefile expert though ...
>
> As there were no other comments, I took this as an OK and pushed
> the patch.
>
> Our FATE clients should be able to test this more thoroughly than I
> can, anyway.

This broke all MSVC builds.

- Hendrik


More information about the ffmpeg-devel mailing list