fixed some LTO issues
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user