Silence LTO warnings
This commit is contained in:
parent
700a46e5db
commit
4294a1872f
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ INTERFACE
|
||||||
|
|
||||||
target_link_options_if_exists(common_options
|
target_link_options_if_exists(common_options
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
-Wno-alloc-size-larger-than # Qt + LTO
|
||||||
|
-Wno-stringop-overflow # Qt + LTO
|
||||||
|
-Wno-odr # Qt + LTO
|
||||||
|
-Wno-inline # OpenAL + LTO
|
||||||
-pthread
|
-pthread
|
||||||
-Wl,--as-needed
|
-Wl,--as-needed
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue