set(SOURCES syscall.cpp ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib") serenity_libc(LibSystem system) target_include_directories(LibSystem PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) add_library(LibSystemStatic STATIC ${SOURCES}) target_include_directories(LibSystemStatic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(LibSystemStatic PRIVATE NoCoverage)