diff options
author | Raul Tambre <raul@tambre.ee> | 2021-01-08 21:19:42 +0200 |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-01-08 21:24:18 +0200 |
commit | 840a2c978374ccc74a0e0b2576c1027fdb609a59 (patch) | |
tree | b7704acf5e82c897f50f43285e02c9c47e21f783 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bf401256edd00e921a5d3a0bf4cf6ee66ae51cd6 (diff) | |
download | llvm-840a2c978374ccc74a0e0b2576c1027fdb609a59.zip llvm-840a2c978374ccc74a0e0b2576c1027fdb609a59.tar.gz llvm-840a2c978374ccc74a0e0b2576c1027fdb609a59.tar.bz2 |
[CMake] Fix incorrect rpath for tests if LLVM_LOCAL_RPATH isn't set
d9ce31ae7d (D94322) removed the check because I thought it was dead
due to checking the existance of a variable (which always existed).
This causes LLDB tests to fail as they set NO_INSTALL_RPATH because
they're never meant to be installed, but we still would end up using
the install rpath.
Add the check back and make it explicitly check for an empty value
to make the purpose clearer and avoid implicit test for a false/true
value.
Differential Revision: https://reviews.llvm.org/D94326
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions