aboutsummaryrefslogtreecommitdiff
path: root/source/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'source/kernel')
-rw-r--r--source/kernel/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/kernel/CMakeLists.txt b/source/kernel/CMakeLists.txt
index 54bdb8b..bc60f6c 100644
--- a/source/kernel/CMakeLists.txt
+++ b/source/kernel/CMakeLists.txt
@@ -14,6 +14,10 @@ target_compile_options("kernel" PRIVATE
"$<$<CXX_COMPILER_ID:GNU>:-pedantic-errors>"
)
+set_target_properties("kernel" PROPERTIES
+ INTERPROCEDURAL_OPTIMIZATION YES
+)
+
#[============================================================================[
# Apply the platform dependent settings to the kernel image.
#]============================================================================]