summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libunwind/Config.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libunwind/Config.in b/package/libunwind/Config.in
index 9b5582692f..1e0e192ac0 100644
--- a/package/libunwind/Config.in
+++ b/package/libunwind/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBUNWIND
bool "libunwind"
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on (BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC) # {g,s}etcontext
depends on BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_mips64 || \
BR2_mips64el || BR2_powerpc || BR2_sh || BR2_sh64 || BR2_i386 || BR2_x86_64
help
@@ -8,7 +9,8 @@ config BR2_PACKAGE_LIBUNWIND
http://www.nongnu.org/libunwind/index.html
-comment "libunwind needs a toolchain w/ threads"
+comment "libunwind needs a uclibc snapshot or (e)glibc toolchain w/ threads"
depends on BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_mips64 || \
BR2_mips64el || BR2_powerpc || BR2_sh || BR2_sh64 || BR2_i386 || BR2_x86_64
depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC)
OpenPOWER on IntegriCloud