fixed some LTO issues

This commit is contained in:
2024-02-02 19:54:04 +01:00
parent 766a3f021c
commit 0a1d2bb9e8
3 changed files with 9 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ add_compile_options(
-Wextra
-Wpedantic
-Wno-unused-parameter
-flto
-flto=8
)
add_link_options(
@@ -86,7 +86,7 @@ add_link_options(
-lstdc++
-lsupc++
-Wl,--end-group
-flto
-flto=8
-Wl,-z,max-page-size=8 # Allow good software remapping across address space (with proper GCC section making)
-Wl,--print-memory-usage
)