serenity/Toolchain/CMake
Tim Schumacher 22562b4b17 CMake: Assume working compiler instead of using static linking
We were previously using TRY_COMPILE_TARGET_TYPE to bypass the compiler
check at the beginning of the CMake build, since we don't have LibC
available and therefore can't link at that point.

However, this breaks a lot of assumptions in try_compile when it comes
to library checks. While this was the main idea behind our usage of the
flag, it also has some really nasty side effects when software wants
to find out what library a symbol is in.

Instead, just manually tell CMake that our compiler works as intended
and keep the target type setting at its default.
2021-11-07 20:11:23 -08:00
..
Platform Meta: Switch to a SuperBuild that splits host and target builds 2021-09-15 19:04:52 +04:30
ClangToolchain.txt.in CMake: Assume working compiler instead of using static linking 2021-11-07 20:11:23 -08:00
GNUToolchain.txt.in CMake: Assume working compiler instead of using static linking 2021-11-07 20:11:23 -08:00
LLVMConfig.cmake Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
LLVMRuntimesConfig.cmake Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00