mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-21 16:32:45 -09:00
package/nnn: add BR2_TOOLCHAIN_HAS_THREADS dependency
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:7856e41685("package/nnn: new package") Signed-off-by: Alexander Shirokov <shirokovalexs@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit1b8cd6665b) Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
500860e2f0
commit
941072daed
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user