package/rwmem: needs wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 5 Sep 2021 19:32:52 +0000 (21:32 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 12 Sep 2021 12:30:44 +0000 (14:30 +0200)
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@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/rwmem/Config.in

index 0fd9142e9260c397e072a82c5a44aba4b9019034..cd9a7f78f13976777289d06e9ef62cb770a3a6ea 100644 (file)
@@ -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