[libcxx-commits] [clang] [libc] [libcxx] [libc][libcxx] Support for building libc++ against LLVM libc (PR #99287)
Joseph Huber via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 17 04:47:32 PDT 2024
https://github.com/jhuber6 commented:
I was just about to do something similar, so I'm glad you got to it before me.
I think we'll need a CMake check on whether or not `libc` was enabled as a runtime if this option is enabled in `libcxx`, but beyond that it looks very reasonable. All we're doing is suppressing the system includes with `-nostdlibinc` and then adding an interface include to the `libc` targets.
https://github.com/llvm/llvm-project/pull/99287
More information about the libcxx-commits
mailing list