aboutsummaryrefslogtreecommitdiff
path: root/libc/startup/gpu/amdgpu/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libc/startup/gpu/amdgpu/CMakeLists.txt')
-rw-r--r--libc/startup/gpu/amdgpu/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/startup/gpu/amdgpu/CMakeLists.txt b/libc/startup/gpu/amdgpu/CMakeLists.txt
index be20237..d1c6fc7 100644
--- a/libc/startup/gpu/amdgpu/CMakeLists.txt
+++ b/libc/startup/gpu/amdgpu/CMakeLists.txt
@@ -2,11 +2,12 @@ add_startup_object(
crt1
SRC
start.cpp
+ DEPENDS
+ libc.src.__support.RPC.rpc_client
COMPILE_OPTIONS
-ffreestanding # To avoid compiler warnings about calling the main function.
-fno-builtin
-nogpulib # Do not include any GPU vendor libraries.
- -nostdinc
-mcpu=${LIBC_GPU_TARGET_ARCHITECTURE}
-emit-llvm # AMDGPU's intermediate object file format is bitcode.
--target=${LIBC_GPU_TARGET_TRIPLE}