[Buildroot] [PATCH 1/1] package/rwmem: needs wchar

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Sep 5 19:32:52 UTC 2021


rwmmem needs wchar because of fmt dependency since its addition in
commit 51a282bcb8dfc26d3a27723383c5a1767653a19d

Fixes:
 - http://autobuild.buildroot.org/results/1c06c27d70aae8bdb39ae43fbe74896e536293c6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/rwmem/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in
index 0fd9142e92..cd9a7f78f1 100644
--- a/package/rwmem/Config.in
+++ b/package/rwmem/Config.in
@@ -2,9 +2,14 @@ config BR2_PACKAGE_RWMEM
 	bool "rwmem"
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR # fmt
 	select BR2_PACKAGE_FMT
 	select BR2_PACKAGE_INIH
 	help
 	  Simple program to read/write from/to any location in memory.
 
 	  https://github.com/tomba/rwmem
+
+comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_5
-- 
2.33.0



More information about the buildroot mailing list