diff mbox

package/autofs: requires NPTL

Message ID 1468681059-20867-1-git-send-email-romain.naour@gmail.com
State Accepted
Headers show

Commit Message

Romain Naour July 16, 2016, 2:57 p.m. UTC
autofs uses pthread_condattr_setclock() which is available only with
toolchains with NPTL threads support.

Fixes:
http://autobuild.buildroot.net/results/152/152d917b0078aeb3715cd562cdecf7d0debf924b

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/autofs/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Thomas Petazzoni July 16, 2016, 7:03 p.m. UTC | #1
Hello,

On Sat, 16 Jul 2016 16:57:39 +0200, Romain Naour wrote:
> autofs uses pthread_condattr_setclock() which is available only with
> toolchains with NPTL threads support.
> 
> Fixes:
> http://autobuild.buildroot.net/results/152/152d917b0078aeb3715cd562cdecf7d0debf924b
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
>  package/autofs/Config.in | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas
diff mbox

Patch

diff --git a/package/autofs/Config.in b/package/autofs/Config.in
index dbe6674..8e08357 100644
--- a/package/autofs/Config.in
+++ b/package/autofs/Config.in
@@ -1,6 +1,6 @@ 
 config BR2_PACKAGE_AUTOFS
 	bool "autofs"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_USE_MMU
 	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	depends on !BR2_STATIC_LIBS # dlfcn
@@ -15,7 +15,7 @@  config BR2_PACKAGE_AUTOFS
 
 	  http://www.linuxfromscratch.org/blfs/view/svn/general/autofs.html
 
-comment "autofs needs a toolchain w/ threads, RPC, dynamic library"
+comment "autofs needs a toolchain w/ NPTL, RPC, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
 		!BR2_TOOLCHAIN_HAS_NATIVE_RPC