[OE-core] [PATCH] libunwind: Enable building static archive on musl

Burton, Ross ross.burton at intel.com
Thu Dec 6 11:49:15 UTC 2018


Presumably static archives are disabled by the no-static-libs include.
So is this really musl-specific?

Ross
On Thu, 6 Dec 2018 at 00:08, Khem Raj <raj.khem at gmail.com> wrote:
>
> This ensures that we have .a for libunwind on musl targets, this is used
> for stack unwinding infra e.g. in rust
>
> Help compiling rust compiler and standard library from meta-rust
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-support/libunwind/libunwind_1.2.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/libunwind/libunwind_1.2.1.bb b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
> index e7fb2b2190..c9239b695e 100644
> --- a/meta/recipes-support/libunwind/libunwind_1.2.1.bb
> +++ b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
> @@ -14,7 +14,7 @@ SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV
>             "
>
>  SRC_URI_append_libc-musl = " file://musl-header-conflict.patch"
> -EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests "
> +EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests --enable-static"
>
>  # http://errors.yoctoproject.org/Errors/Details/20487/
>  ARM_INSTRUCTION_SET_armv4 = "arm"
> --
> 2.19.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list