With the newer libtool, libunwind fails to build on riscv64 with an error
about the WCClinker option. Disable those exceptions until a better fix
is identified.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/recipes-support/libunwind/libunwind_1.8.3.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/libunwind/libunwind_1.8.3.bb 
b/meta/recipes-support/libunwind/libunwind_1.8.3.bb
index bc1a108e427..1a3a816d785 100644
--- a/meta/recipes-support/libunwind/libunwind_1.8.3.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.8.3.bb
@@ -27,6 +27,8 @@ PACKAGECONFIG[zlib] = 
"--enable-zlibdebuginfo,--disable-zlibdebuginfo,zlib"
 PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, 
latex2man-native"
 
 EXTRA_OECONF = "--enable-static --disable-tests"
+EXTRA_OECONF:append:riscv64 = " --disable-cxx-exceptions"
+
 
 # http://errors.yoctoproject.org/Errors/Details/20487/
 ARM_INSTRUCTION_SET:armv4 = "arm"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242869): 
https://lists.openembedded.org/g/openembedded-core/message/242869
Mute This Topic: https://lists.openembedded.org/mt/120610048/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to