Use whole-program optimization to eliminate linking of unused symbols
This commit is contained in:
parent
3c8e9a0c75
commit
dbc1e4fb35
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||||
INTERFACE
|
INTERFACE
|
||||||
-pthread
|
-pthread
|
||||||
-rdynamic
|
-rdynamic
|
||||||
|
-fwhole-program
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue