In this mode libc++ headers end up in two directories:
- include/<triple>/c++/v1 for the site config header
- include/c++/v1 for everything else
Also switch from -I to -isystem.
|  Differential  D108841  
Support LLVM_ENABLE_PER_TARGET_RUNTIME_DIR in the sanitizer symbolizer build. Authored by eugenis on Aug 27 2021, 1:39 PM. 
Details In this mode libc++ headers end up in two directories: 
 Also switch from -I to -isystem. 
Diff Detail 
 Event TimelineComment Actions Thanks! -isystem ignores non-existent directory, so -isystem ${LIBCXX_BUILD}/include/${TARGET_TRIPLE}/c++/v1 should be good. |