summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-12-05 16:07:49 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 17:16:55 +0000
commit37ddab09f0ed9b532fb9ac57f622c8609121aa65 (patch)
tree2e236430c83621ae4c71bff7fb0fde1f3ff3ac13
parenta3e8cdf9c3ba966fa4b5a21235540eb0b00fb487 (diff)
downloadopenembedded-core-contrib-37ddab09f0ed9b532fb9ac57f622c8609121aa65.tar.gz
openembedded-core-contrib-37ddab09f0ed9b532fb9ac57f622c8609121aa65.tar.bz2
openembedded-core-contrib-37ddab09f0ed9b532fb9ac57f622c8609121aa65.zip
libunwind: Enable building static archive on musl
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@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libunwind/libunwind_1.2.1.bb2
1 files changed, 1 insertions, 1 deletions
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"