diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-11-23 05:15:03 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 10:15:03 -0500 |
commit | 4b1fe097f9a3882f437bc3b829ef02331e28a8d6 (patch) | |
tree | ff41b2344bef86722b9c942e618a539f3f039e16 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 53578e5c854d681d4b76e311e2bbc7cbd92ad4ce (diff) | |
download | llvm-4b1fe097f9a3882f437bc3b829ef02331e28a8d6.zip llvm-4b1fe097f9a3882f437bc3b829ef02331e28a8d6.tar.gz llvm-4b1fe097f9a3882f437bc3b829ef02331e28a8d6.tar.bz2 |
[libc++] Simplify the conditions for generating a linker script (#73151)
We really shouldn't be depending on far away configuration options like
LLVM_HAVE_LINK_VERSION_SCRIPT here. This patch simplifies the enablement
of the linker scripts and as a result gets rid of an undesirable
dependency on HandleLLVMOptions.cmake.
As a drive-by, the patch also stops taking into account whether Python3
is available. This should have no bearing on whether we generate a
linker script or not, which is required for correctness. If someone
tries to build libc++ and generate a linker script but Python3 is not
available, they should get an error instead of silently getting an
incorrect installation of the library.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions