From c218db6f349aed809040801c44b59c1d2e0d8739 Mon Sep 17 00:00:00 2001 From: Ryan Lucia Date: Sat, 6 Mar 2021 14:57:27 -0500 Subject: [PATCH] meson: disable LTO by default --- README.md | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bebe2ac57..7b52923f8 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/meson.build b/meson.build index 9612414b4..2e485793c 100644 --- a/meson.build +++ b/meson.build @@ -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')