[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.
This commit is contained in:
Michael Jones 2024-09-19 11:33:23 -07:00 committed by GitHub
parent edf3b277a5
commit 010c0d36e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,7 @@ target_compile_definitions(llvmlibc_rpc_server PUBLIC
LIBC_COPT_ARRAY_ARG_LIST
LIBC_COPT_PRINTF_DISABLE_WRITE_INT
LIBC_COPT_PRINTF_DISABLE_INDEX_MODE
LIBC_COPT_PRINTF_DISABLE_STRERROR
LIBC_NAMESPACE=${LIBC_NAMESPACE})
# Install the server and associated header.