diff options
author | Nico Weber <thakis@chromium.org> | 2021-09-07 20:35:43 -0400 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-09-08 04:23:17 +0000 |
commit | 62e0bf852ea539620c3e56fbef0d9de5384ab0eb (patch) | |
tree | ad1a619eb4c2072ae9e3603d866190617cf3f4c3 /Kernel | |
parent | 33f76f88bbef90f3512b2fd7decb85428d3ce0a4 (diff) | |
download | serenity-62e0bf852ea539620c3e56fbef0d9de5384ab0eb.zip |
Kernel: Don't link Prekernel against libsupc++
It isn't needed.
Also, we stopped linking Kernel against it in 67f0c0d5f074. libsupc++
depends on symbols like free() or realloc() which we removed from
Kernel/StdLib.cpp after 67f0c0d5f074 and which don't exist in Prekernel
either.
(It also happens to make the aarc64 link fail in less obvious ways.)
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Prekernel/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Prekernel/CMakeLists.txt b/Kernel/Prekernel/CMakeLists.txt index 9aabfdfb56..7943e05b69 100644 --- a/Kernel/Prekernel/CMakeLists.txt +++ b/Kernel/Prekernel/CMakeLists.txt @@ -39,7 +39,7 @@ set_target_properties(${PREKERNEL_TARGET} PROPERTIES LINK_DEPENDS ${CMAKE_CURREN if (USE_CLANG_TOOLCHAIN) target_link_libraries(${PREKERNEL_TARGET} clang_rt.builtins-${SERENITY_CLANG_ARCH} c++abi) else() - target_link_libraries(${PREKERNEL_TARGET} gcc supc++) + target_link_libraries(${PREKERNEL_TARGET} gcc) endif() if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64") |