When using Clang to build Musl with complex numbers support, a linking error appears: __muldc3 symbol is undefined. For Clang, the __muldc3 symbol is implemented by libcompiler-rt.
As complex number support is not typically required by applications (that use Musl), this commit disable it by setting the LIBMUSL_COMPLEX option to n. If required, the application will enable LIBMUSL_COMPLEX (set it to y) and, in the case of Clang, add libcompiler-rt.
When using Clang to build Musl with complex numbers support, a linking error appears:
__muldc3
symbol is undefined. For Clang, the__muldc3
symbol is implemented bylibcompiler-rt
.As complex number support is not typically required by applications (that use Musl), this commit disable it by setting the
LIBMUSL_COMPLEX
option ton
. If required, the application will enableLIBMUSL_COMPLEX
(set it toy
) and, in the case of Clang, addlibcompiler-rt
.