[libc][NFC] Silence C99 extension warnings on clang for RPC

Summary:
This only shows up during the build of the server, silence it.
This commit is contained in:
Joseph Huber
2025-02-03 16:08:41 -06:00
parent 5dccfd9283
commit 36d6b63f85

View File

@@ -11,6 +11,7 @@ target_include_directories(llvmlibc_rpc_server PUBLIC ${CMAKE_CURRENT_SOURCE_DIR
# Ignore unsupported clang attributes if we're using GCC.
target_compile_options(llvmlibc_rpc_server PUBLIC
$<$<CXX_COMPILER_ID:Clang>:-Wno-c99-extensions>
$<$<CXX_COMPILER_ID:GNU>:-Wno-attributes>)
target_compile_definitions(llvmlibc_rpc_server PUBLIC
LIBC_COPT_USE_C_ASSERT