[libav-bugs] [Bug 932] Latest git master fails to build with musl libc

bugzilla at libav.org bugzilla at libav.org
Wed Mar 30 18:57:49 CEST 2016


https://bugzilla.libav.org/show_bug.cgi?id=932

--- Comment #3 from Sean McGovern <gseanmcg at gmail.com> ---
(In reply to Kylie McClain from comment #2)
> musl intentionally does not provide definitions for programs to check for.
> The only way that could be done is by checking for all the other libcs which
> do provide macros in configure.ac, which is probably more trouble than it's
> worth...

Fair enough -- then why not expand the test for nanosleep() in configure
without even mentioning musl in the first place. Just check to see if it is not
defined and then test again by adding -D_GNU_SOURCE.

Does adding -D_GNU_SOURCE globally to the compiler/pre-processor flags
potentially cause any other regressions with the build process?

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20160330/1fa1d6e5/attachment.html>


More information about the libav-bugs mailing list