[flac-dev] Broken build on musl libc

Erik de Castro Lopo mle+la at mega-nerd.com
Mon Mar 14 01:02:46 PDT 2016


neheb at hushmail.com wrote:

> Patch is here:
>   https://github.com/openwrt/packages/commit/1263599f96f13f11d719ce336dfb6a639b32de98 .
> Probably needs to be modified for inclusion into mainline.

Applied Thanks.

    commit a9f84425cfd5d1dbfb564730ca80d0b588cb4f24
    Author: Erik de Castro Lopo <erikd at mega-nerd.com>
    Date:   Mon Mar 14 18:14:31 2016 +1100

        libFLAC/cpu.c: Use `sigemptyset` instead of `__sigemptyset`
    
        The former is POSIX while the later is a GNU glibc-ism that does not
        exist in (for example) the Musl C library that is used in OpenWrt.
    
        Reported-by: <neheb at hushmail.com>

@lvqcl, I tried to test this, but couldn't figure out what CPU architecture
and configure options were required to build the code that changed.

Any clues?

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list