package/jemalloc: needs threads
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 17 Jul 2016 17:16:10 +0000 (19:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Jul 2016 21:12:32 +0000 (23:12 +0200)
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>
package/jemalloc/Config.in

index f5ee950d1411c9a030591b5a283da71147d08c74..b1b92bb7c5fec41e7c5f4a49448ac4c3054183aa 100644 (file)
@@ -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