Skip to content

Commit

Permalink
posix: options: remove default setting of toolchain option
Browse files Browse the repository at this point in the history
Do not set TC_PROVIDES_POSIX_C_LANG_SUPPORT_R as the default in
lib/posix/options/Kconfig.c_lang_r . TC_PROVIDES options are
only intended to be set by C libraries that implement parts of
the POSIX standard.

Signed-off-by: Chris Friedt <[email protected]>
  • Loading branch information
cfriedt authored and kartben committed Jan 3, 2025
1 parent 17cde7d commit 60928a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/posix/options/Kconfig.c_lang_r
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ config POSIX_C_LANG_SUPPORT_R
select COMMON_LIBC_CTIME_R if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
select COMMON_LIBC_GMTIME_R if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
select COMMON_LIBC_LOCALTIME_R_UTC if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
default y if TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
help
Select 'y' here and Zephyr will provide an implementation of the POSIX_C_LANG_SUPPORT_R
Option Group, consisting of asctime_r(), ctime_r(), gmtime_r(), localtime_r(), rand_r(),
Expand Down

0 comments on commit 60928a5

Please sign in to comment.