mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-22 00:57:09 +02:00
Explain how to build a backward compatible binary on Linux
This commit is contained in:
parent
0f38dabd84
commit
a9c0b817d1
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ Or, to create a debug build, run (also using [your **api_id** and **api_hash**](
|
|||
-D TDESKTOP_API_ID=YOUR_API_ID \
|
||||
-D TDESKTOP_API_HASH=YOUR_API_HASH
|
||||
|
||||
If you need a backward compatible binary (running on older OS like the official one), you should build the binary with LTO.
|
||||
To do this, add `-D CMAKE_INTERPROCEDURAL_OPTIMIZATION=ON` option.
|
||||
|
||||
The built files will be in the `out` directory.
|
||||
|
||||
[api_credentials]: api_credentials.md
|
||||
|
|
Loading…
Add table
Reference in a new issue