mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel: Don't link Prekernel against libsupc++
It isn't needed. Also, we stopped linking Kernel against it in67f0c0d5f0
. libsupc++ depends on symbols like free() or realloc() which we removed from Kernel/StdLib.cpp after67f0c0d5f0
and which don't exist in Prekernel either. (It also happens to make the aarc64 link fail in less obvious ways.)
This commit is contained in:
parent
33f76f88bb
commit
62e0bf852e
Notes:
sideshowbarker
2024-07-18 04:28:14 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/62e0bf852ea Pull-request: https://github.com/SerenityOS/serenity/pull/9885
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue