[FFmpeg-devel] [PATCH v2 1/4] libavutil/error: fix build with musl toolchain

Jörg Krause jkrause at posteo.de
Thu Sep 4 21:15:18 CEST 2014


On 09/04/2014 05:24 PM, wm4 wrote:
> On Thu, 04 Sep 2014 10:07:19 +0200
> Jörg Krause <jkrause at posteo.de> wrote:
>
>> On 09/03/2014 08:12 PM, Michael Niedermayer wrote:
>>> On Wed, Sep 03, 2014 at 11:53:39AM +0200, Jörg Krause wrote:
>>>> Add the feature test macro which is required for building with the
>>>> musl toolchain.
>>>>
>>>> The feature test macro _XOPEN_SOURCE = 600 provides the XSI-compliant
>>>> version of strerror_r().
>>>>
>>>> Signed-off-by: Jörg Krause <jkrause at posteo.de>
>>>> ---
>>>> Changes v1 -> v2:
>>>>     - fixed wrong macro name
>>>>     - add a comment
>>>> ---
>>>>    libavutil/error.c | 1 +
>>>>    1 file changed, 1 insertion(+)
>>> applied
>> Many thanks! There are some more fixes necessary for supporting the musl
>> C library. I will prepare a series of patches in a couple of days. I
>> will follow the suggestion to add the feature test macros on source
>> level as described in the GNU C library reference manual.
> I think I said this already, but there are people who have compiled
> ffmpeg on musl without patches months ago...

You did. I already replied to your mail: 
https://ffmpeg.org/pipermail/ffmpeg-devel/2014-September/162437.html. 
Did they set CPPFLAGS from command line?

Do you have some information about how they build it so I can reproduce it?


More information about the ffmpeg-devel mailing list