meson: disable LTO by default

This commit is contained in:
Ryan Lucia 2021-03-06 14:57:27 -05:00
parent 19429b0f6e
commit c218db6f34
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ All other dependencies are either stored in the repository or are included as su
Building:
1. Clone Aegisub's repository: `git clone https://github.com/TypesettingTools/Aegisub.git`
2. From the Visual Studio "x64 Native Tools Command Prompt", generate the build directory: `meson build -Ddefault_library=static`
2. From the Visual Studio "x64 Native Tools Command Prompt", generate the build directory: `meson build -Ddefault_library=static -Db_lto=true`
3. Build with `cd build` and `meson compile`
You should now have a binary at `src/aegisub.exe`.

View file

@ -1,7 +1,7 @@
project('Aegisub', ['c', 'cpp'],
license: 'BSD-3-Clause',
meson_version: '>=0.56.1',
default_options: ['cpp_std=c++11', 'b_lto=true', 'buildtype=debugoptimized'],
default_options: ['cpp_std=c++11', 'buildtype=debugoptimized'],
version: '3.2.2')
cmake = import('cmake')