diff --git a/libs/libc/machine/CMakeLists.txt b/libs/libc/machine/CMakeLists.txt index 1518564e76..5f4869dc7d 100644 --- a/libs/libc/machine/CMakeLists.txt +++ b/libs/libc/machine/CMakeLists.txt @@ -22,9 +22,7 @@ add_subdirectory(${CONFIG_ARCH}) -if(CONFIG_LIBC_ARCH_ATOMIC) - target_sources(c PRIVATE arch_atomic.c) -endif() +target_sources(c PRIVATE arch_atomic.c) if(CONFIG_MM_KASAN) target_sources(c PRIVATE arch_libc.c)