Readme - lto must be used with --no-git-hash

Otherwise build fails later.
This commit is contained in:
David Heidelberg 2021-08-30 11:57:21 +02:00
parent d16a26aa83
commit 75eecf700b
No known key found for this signature in database
GPG key ID: 60023FC4D3492072

View file

@ -130,7 +130,7 @@ Microsoft recently discontinued its downloads of the DX9 SDK. You can download a
**If you choose OpenAL on Windows** You must read [Running OpenAL build on Windows](https://github.com/GTAmodding/re3/wiki/Running-OpenAL-build-on-Windows).
</details>
> :information_source: premake has an `--with-lto` option if you want the project to be compiled with Link Time Optimization.
> :information_source: premake has an `--with-lto` option if you want the project to be compiled with Link Time Optimization (has to be used with `--no-git-hash`)
> :information_source: There are various settings in [config.h](https://github.com/GTAmodding/re3/tree/miami/src/core/config.h), you may want to take a look there.