From 941072daedb73650ae2c59069c8efc79291951af Mon Sep 17 00:00:00 2001 From: Alexander Shirokov Date: Tue, 22 Sep 2026 15:18:57 +0200 Subject: [PATCH] package/nnn: add BR2_TOOLCHAIN_HAS_THREADS dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nnn links against pthread. Specify the dependency to avoid unexpected build failures on toolchains lacking thread support (e.g. br-arm-full-nothread). Fixes: https://autobuild.buildroot.net/results/5cd2b7a288a1681068448de6715e731580908206/ Fixes: 7856e41685a179fdda7b21a10455e52fe5fa5cb0 ("package/nnn: new package") Signed-off-by: Alexander Shirokov Signed-off-by: Thomas Petazzoni (cherry picked from commit 1b8cd6665bdb6d8f67b71b859a0d78e3a2584875) Signed-off-by: Raphaël Mélotte --- package/nnn/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nnn/Config.in b/package/nnn/Config.in index 64cfa8e0a5..555ab864d9 100644 --- a/package/nnn/Config.in +++ b/package/nnn/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_NNN bool "nnn" depends on BR2_USE_MMU # fork + depends on BR2_TOOLCHAIN_HAS_THREADS # Building nnn without widechar/UTF support is theoretically # possible, but in practice it leads to unstable builds. # That’s why the WCHAR dependency is here. @@ -15,6 +16,6 @@ config BR2_PACKAGE_NNN https://github.com/jarun/nnn -comment "nnn needs a toolchain with wchar" +comment "nnn needs a toolchain with wchar, threads" depends on BR2_USE_MMU # fork - depends on !BR2_USE_WCHAR + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS