llvm-project/libcxx/cmake
Louis Dionne 690a4692d1 [runtimes] Don't link against compiler-rt when we don't find it
Otherwise, we would end up passing `-lNOTFOUND` to the compiler, which
caused various compiler checks to fail and ended up breaking the build
in the most obscure ways. For example, checks for -faligned-allocation
would fail because the compiler would complain about an unknown library
called NOTFOUND, and we would end up not passing -faligned-allocation
anywhere in our build. This is madness.

An even better alternative would be to simply FATAL_ERROR if we don't
find the builtins library. However, it seems like our build has been
working fine without finding it for a while, so instead of making a
bunch of builds fail, we can figure out why linking against compiler-rt
doesn't actually seem to be required in a follow-up, and perhaps
relax that.
2022-08-24 10:33:10 -04:00
..
Modules [libc++] Simplify how we define the linker script for libc++ 2022-08-03 09:29:50 -04:00
caches [libc++] Drop the legacy debug mode symbols by default 2022-07-19 17:16:06 -04:00
config-ix.cmake [runtimes] Don't link against compiler-rt when we don't find it 2022-08-24 10:33:10 -04:00