From 75eecf700b1df8e15060f46fe1bab6e81b38cebb Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Mon, 30 Aug 2021 11:57:21 +0200 Subject: [PATCH] Readme - lto must be used with --no-git-hash Otherwise build fails later. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9855f7af..68f03a2b 100644 --- a/README.md +++ b/README.md @@ -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). -> :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.