summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-07-17 19:16:10 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-18 23:12:32 +0200
commit6ebd430ef010e0e8f35899d0d7a2c03d4fbb4140 (patch)
treeee99f75a8761ce5e9c1ae8b970fb6753b0f09336
parentefe465b0fd59c94a935fe63b62159fcc5e68ca0f (diff)
downloadbuildroot-6ebd430ef010e0e8f35899d0d7a2c03d4fbb4140.tar.gz
buildroot-6ebd430ef010e0e8f35899d0d7a2c03d4fbb4140.zip
package/jemalloc: needs threads
Fixes: http://autobuild.buildroot.org/results/73c437fb932a30bae17653173e8ce35cc91757ef/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/jemalloc/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/jemalloc/Config.in b/package/jemalloc/Config.in
index f5ee950d14..b1b92bb7c5 100644
--- a/package/jemalloc/Config.in
+++ b/package/jemalloc/Config.in
@@ -12,12 +12,13 @@ config BR2_PACKAGE_JEMALLOC
bool "jemalloc"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
This library providing a malloc(3) implementation that emphasizes
fragmentation avoidance and scalable concurrency support.
http://www.canonware.com/jemalloc/
-comment "jemalloc needs a toolchain w/ dynamic library"
+comment "jemalloc needs a toolchain w/ dynamic library, threads"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
- depends on BR2_STATIC_LIBS
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud