From e478a4e85083dddcbc2cd7282f413f0d89d3a1eb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 8 Nov 2022 10:02:09 -0800 Subject: [PATCH] subsys/cpp: make libstdc++ select full libc to get tests working Using a STD C++ library requires a toolchain-provided C library with associated STD C++ library. Instead of using a dependency on !MINIMAL_LIBC, select REQUIRES_FULL_LIBC so that the build will select a viable C library rather than failing. This allows all of the C++ tests to be run as a part of a standard twister run. I expect this will uncover regressions in some of those which haven't been run recently. Signed-off-by: Keith Packard --- subsys/cpp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/cpp/Kconfig b/subsys/cpp/Kconfig index b315b393561..af36e357505 100644 --- a/subsys/cpp/Kconfig +++ b/subsys/cpp/Kconfig @@ -67,7 +67,7 @@ config CPP_MAIN config LIB_CPLUSPLUS bool "Link with STD C++ library" - depends on !MINIMAL_LIBC + select REQUIRES_FULL_LIBC help Link with STD C++ Library.