optimisation: try to enable multi-threaded LTO
This commit is contained in:
parent
67bee65f76
commit
93d09dc0dc
@ -32,6 +32,7 @@ if (LTO)
|
||||
# situations where we may accidentally use regular/fat objects.
|
||||
append_compile_flag("-flto")
|
||||
append_compile_flag("-fno-fat-lto-objects")
|
||||
append_compile_flag("-flto-jobs=0")
|
||||
|
||||
# Try to squeeze out some more diagnostics via LTO
|
||||
append_compile_flag("-flto-odr-type-merging")
|
||||
|
Loading…
Reference in New Issue
Block a user