Skip to content

Commit 010c0d3

Browse files
[libc][AMDGPU] Disable %m in RPC server (#109317)
The RPC server directly includes the printf code, but doesn't support errno, so the %m conversion needs to be disabled there as well. This patch does that.
1 parent edf3b27 commit 010c0d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/utils/gpu/server/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ target_compile_definitions(llvmlibc_rpc_server PUBLIC
1919
LIBC_COPT_ARRAY_ARG_LIST
2020
LIBC_COPT_PRINTF_DISABLE_WRITE_INT
2121
LIBC_COPT_PRINTF_DISABLE_INDEX_MODE
22+
LIBC_COPT_PRINTF_DISABLE_STRERROR
2223
LIBC_NAMESPACE=${LIBC_NAMESPACE})
2324

2425
# Install the server and associated header.

0 commit comments

Comments
 (0)