Skip to content

Commit 131efd7

Browse files
stephanosiogalak
authored andcommitted
i586: Enable newlib retargetable locking
This commit enables the newlib retargetable locking option to allow the Zephyr operating system to override the dummy lock functions defined within the newlib. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent ba038fc commit 131efd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/i586.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
1818
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
1919
CT_LIBC_NEWLIB_LITE_EXIT=y
2020
# CT_LIBC_NEWLIB_MULTITHREAD is not set
21+
CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2122
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
2223
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2324
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
@@ -30,6 +31,7 @@ CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
3031
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
3132
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
3233
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
34+
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
3335
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
3436
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
3537
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y

0 commit comments

Comments
 (0)