Test case:
```
$ cmake . -DRUN_IN_PLACE=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SERVER=TRUE -DENABLE_TOUCH=FALSE
minetest minetestserver
W/o LTO: 13M 7.3M
W/ LTO: 11M 5.9M
difference: 15% 19%
```
Also fixes various compiler warnings resulting from compilation using LTO.
---------
Signed-off-by: David Heidelberg <david@ixit.cz>
|
||
|---|---|---|
| .. | ||
| buildbot | ||
| ci | ||
| helper_mod | ||
| wireshark | ||
| bump_version.sh | ||
| gather_git_credits.py | ||
| mod_translation_updater.py | ||
| README_mod_translation_updater.md | ||
| reorder_translation_commits.py | ||
| stress_mapgen.sh | ||
| test_multiplayer.sh | ||
| updatepo.sh | ||