Skip to content

Commit e478a4e

Browse files
keith-packardstephanosio
authored andcommitted
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 <[email protected]>
1 parent 595fbf9 commit e478a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/cpp/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ config CPP_MAIN
6767

6868
config LIB_CPLUSPLUS
6969
bool "Link with STD C++ library"
70-
depends on !MINIMAL_LIBC
70+
select REQUIRES_FULL_LIBC
7171
help
7272
Link with STD C++ Library.
7373

0 commit comments

Comments
 (0)