aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-06-26 01:23:43 -0400
committerLouis Dionne <ldionne@apple.com>2020-06-26 01:26:34 -0400
commit05c552ad0535f0f7c871bdd41aed02144e27afd7 (patch)
tree85de51849760c17c7f9ad708193515c6552de3e2 /clang/lib/Basic/Module.cpp
parent70165bb7e91de53e046e9de7b593a388d998752c (diff)
downloadllvm-05c552ad0535f0f7c871bdd41aed02144e27afd7.zip
llvm-05c552ad0535f0f7c871bdd41aed02144e27afd7.tar.gz
llvm-05c552ad0535f0f7c871bdd41aed02144e27afd7.tar.bz2
[libc++] Fix the runtimes build after making __config_site mandatory
The runtimes build includes libcxx/include/CMakeLists.txt directly instead of going through the top-level CMake file. This not-very-hygienic inclusion caused some variables like LIBCXX_BINARY_DIR not to be defined properly, and the config_site generation logic to fail after landing 53623d4aa710. This patch works around this issue by defining the missing variables. However, the proper fix for this would be for the runtimes build to always go through libc++'s top-level CMakeLists.txt. Doing otherwise is unsupported.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions