mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
Kernel: Make sure the kernel is re-linked when the linker script changes
This commit is contained in:
parent
67c2d39422
commit
b007898c35
1 changed files with 2 additions and 0 deletions
|
@ -387,6 +387,8 @@ endif()
|
|||
add_executable(Kernel ${SOURCES})
|
||||
add_dependencies(Kernel generate_EscapeSequenceStateMachine.h)
|
||||
|
||||
set_target_properties(Kernel PROPERTIES LINK_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/linker.ld)
|
||||
|
||||
if (ENABLE_KERNEL_LTO)
|
||||
include(CheckIPOSupported)
|
||||
check_ipo_supported()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue