Skip to content

Commit

Permalink
[libc] Add missing dependencies to RISC-V startup implementation
Browse files Browse the repository at this point in the history
Summary:
Just like the last patch, the threads and envrion dependencies were
missing. This lead to linker failures when building the tests.
  • Loading branch information
jhuber6 committed Mar 16, 2023
1 parent 9ed434a commit a704c31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libc/startup/linux/riscv64/CMakeLists.txt
Expand Up @@ -6,10 +6,12 @@ add_startup_object(
libc.config.linux.app_h
libc.include.sys_mman
libc.include.sys_syscall
libc.src.__support.threads.thread
libc.src.__support.OSUtil.osutil
libc.src.stdlib.exit
libc.src.stdlib.atexit
libc.src.string.memory_utils.memcpy_implementation
libc.src.unistd.environ
COMPILE_OPTIONS
-fno-omit-frame-pointer
-ffreestanding # To avoid compiler warnings about calling the main function.
Expand Down

0 comments on commit a704c31

Please sign in to comment.