mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-09 10:06:07 +00:00

Make sure we use the libc++ from the build dir. Currently, by passing -stdlib=libc++, we might pick up the system libc++. This change ensures that if LLVM_LIBS_DIR is set, we try to use the libc++ from there. Differential revision: https://reviews.llvm.org/D129166