diff --git a/libs/libc/spawn/CMakeLists.txt b/libs/libc/spawn/CMakeLists.txt index 4776accffd..b91fc3815a 100644 --- a/libs/libc/spawn/CMakeLists.txt +++ b/libs/libc/spawn/CMakeLists.txt @@ -42,9 +42,6 @@ endif() if(NOT CONFIG_BUILD_KERNEL) list(APPEND SRCS lib_psa_getstacksize.c lib_psa_setstacksize.c) - if(CONFIG_LIB_SYSCALL) - list(APPEND SRCS lib_task_spawn.c) - endif() endif() if(CONFIG_DEBUG_FEATURES)