Skip to content

Commit c0d4da8

Browse files
stephanosiogalak
authored andcommitted
x86_64: 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 7d0c6f6 commit c0d4da8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/x86_64-zephyr-elf.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
1616
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
1717
CT_LIBC_NEWLIB_LITE_EXIT=y
1818
# CT_LIBC_NEWLIB_MULTITHREAD is not set
19+
CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
1920
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
2021
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2122
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
@@ -28,6 +29,7 @@ CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
2829
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
2930
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
3031
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
32+
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
3133
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
3234
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
3335
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y

0 commit comments

Comments
 (0)