Commit Graph

12 Commits

Author SHA1 Message Date
David Heidelberg
35a83c3514 Enable IPO/LTO by default except for debug builds (#14198)
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>
2024-05-06 20:58:14 +02:00
jordan4ibanez
72edfe3d04
Fix openSUSE build dependencies
They were incomplete.
2023-11-19 20:46:03 +01:00
ROllerozxa
570fc90bf6
Debundle Minetest Game (#13818) 2023-11-07 22:18:26 +01:00
Loïc Blot
929a13a9a0
build: Allow disabling documentation build + print more build flags (#13871)
* build: permit to disable documentation build

* build: add a message about some BUILD_* flags
2023-10-09 15:35:12 +02:00
Desour
591e45657f Bump minimum clang version to 7.0.1
std::variant is broken in clang < 7.0.1 with libstdc++
see: https://github.com/llvm/llvm-project/issues/32569
2023-09-26 22:10:57 +02:00
jordan4ibanez
14441a289e
Document openSUSE Required Packages 2023-08-14 18:13:36 +02:00
Nikita K
e0948f42ab
Add Void Linux specifics to build documentation (#13693) 2023-07-30 14:55:06 +01:00
s20
4fb6754903
Adding gettext in the compilation dependency packages list 2023-06-24 20:38:11 +02:00
Desour
dade95e142 Fix curl deprecation warnings, and set minimum curl version to 7.56.0 2023-06-15 13:55:20 +02:00
Desour
28766d1879 Bump minimum gcc and clang versions 2023-06-15 10:38:44 +02:00
sfan5
8cccd75e81
Android build via CMake (#13528)
* the thing

* the thing 2
2023-05-26 15:21:23 +02:00
rubenwardy
9c90358912
Split compilation instructions from README.md (#13457) 2023-04-25 21:02:02 +01:00