mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:38:10 +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
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…
Add table
Add a link
Reference in a new issue