diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-16 09:12:36 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-16 09:13:18 -0500 |
commit | a704c312f11f5b64790b8697b9c31bd75681a144 (patch) | |
tree | 01a23a35e9cb251a10257f629623bb5e98e1d1c0 /libc/startup | |
parent | 9ed434a96edc388b75624509b5f59d6aa42c953f (diff) | |
download | llvm-a704c312f11f5b64790b8697b9c31bd75681a144.tar.gz |
[libc] Add missing dependencies to RISC-V startup implementation
Summary:
Just like the last patch, the threads and envrion dependencies were
missing. This lead to linker failures when building the tests.
Diffstat (limited to 'libc/startup')
-rw-r--r-- | libc/startup/linux/riscv64/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/startup/linux/riscv64/CMakeLists.txt b/libc/startup/linux/riscv64/CMakeLists.txt index 14d6409af6cc..14efe0e58f30 100644 --- a/libc/startup/linux/riscv64/CMakeLists.txt +++ b/libc/startup/linux/riscv64/CMakeLists.txt @@ -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. |