
libc++ expects to come first in the search path, before libc. See for example: https://github.com/llvm/llvm-project/blob/main/libcxx/include/cstddef#L45 Make sure the C++ include path comes first even if custom paths to libc and other packages are passed in via the `FLAGS` variable.
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================