Skip to contentSkip to conversation

package/ejmalloc: needs threads

PATCH New Yann E. MORIN 2 participants 2 messages Jul 17, 2016 – Jul 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ejmalloc: needs threads

Fixes:

    http://autobuild.buildroot.org/results/73c/73c437fb932a30bae17653173e8ce35cc91757ef/
---
 package/jemalloc/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/jemalloc/Config.in +3 -2
index f5ee950..b1b92bb 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 package/ejmalloc: needs threads

Hello,

Quoted 8 lines · Yann E. MORIN

Fixes:

    http://autobuild.buildroot.org/results/73c/73c437fb932a30bae17653173e8ce35cc91757ef/
---
 package/jemalloc/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied after fixing the commit title typo. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com