[libc-commits] [libc] [libc] Fix building the RPC server with LIBC_NAMESPACE (PR #65642)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Sep 8 05:19:51 PDT 2023


================
@@ -8,6 +8,8 @@ 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:GNU>:-Wno-attributes>)
+target_compile_definitions(llvmlibc_rpc_server PUBLIC
----------------
jhuber6 wrote:

This part it build with the rest of the LLVM project, so I'd like to avoid global definitions if possible.

https://github.com/llvm/llvm-project/pull/65642


More information about the libc-commits mailing list