diff options
author | Nico Weber <thakis@chromium.org> | 2021-09-17 10:01:46 -0400 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-09-17 17:59:22 +0300 |
commit | a339b73fc22e97b33e13b426d57a6156513dc07e (patch) | |
tree | 2477eddd732ee299012d86d9c948f12f22a5e26c /Kernel/Prekernel | |
parent | f58b2a0358e920a04c903dd00d592079c2d544d0 (diff) | |
download | serenity-a339b73fc22e97b33e13b426d57a6156513dc07e.zip |
Kernel: Don't link Prekernel against kernel_heap
This was added in b5c98ede084e5d29, but it looks like a copy-paste
mistake from Kernel/CMakeLists.txt.
Unbreaks building for aarch64.
Diffstat (limited to 'Kernel/Prekernel')
-rw-r--r-- | Kernel/Prekernel/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Prekernel/CMakeLists.txt b/Kernel/Prekernel/CMakeLists.txt index 6d1d7704d8..4a3e031795 100644 --- a/Kernel/Prekernel/CMakeLists.txt +++ b/Kernel/Prekernel/CMakeLists.txt @@ -44,9 +44,9 @@ target_link_options(${PREKERNEL_TARGET} PRIVATE LINKER:-T ${CMAKE_CURRENT_SOURCE set_target_properties(${PREKERNEL_TARGET} PROPERTIES LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - target_link_libraries(${PREKERNEL_TARGET} PRIVATE kernel_heap gcc) + target_link_libraries(${PREKERNEL_TARGET} PRIVATE gcc) elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang$") - target_link_libraries(${PREKERNEL_TARGET} PRIVATE kernel_heap "clang_rt.builtins-${SERENITY_CLANG_ARCH}" c++abi) + target_link_libraries(${PREKERNEL_TARGET} PRIVATE "clang_rt.builtins-${SERENITY_CLANG_ARCH}" c++abi) endif() if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64") |