1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:47:46 +00:00

Kernel: Make sure the kernel is re-linked when the linker script changes

This commit is contained in:
Gunnar Beutner 2021-06-17 19:26:37 +02:00 committed by Andreas Kling
parent 67c2d39422
commit b007898c35

View file

@ -387,6 +387,8 @@ endif()
add_executable(Kernel ${SOURCES}) add_executable(Kernel ${SOURCES})
add_dependencies(Kernel generate_EscapeSequenceStateMachine.h) add_dependencies(Kernel generate_EscapeSequenceStateMachine.h)
set_target_properties(Kernel PROPERTIES LINK_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/linker.ld)
if (ENABLE_KERNEL_LTO) if (ENABLE_KERNEL_LTO)
include(CheckIPOSupported) include(CheckIPOSupported)
check_ipo_supported() check_ipo_supported()