From 6d3f1b64f4f836509cddb1f8134ed10006ad3c23 Mon Sep 17 00:00:00 2001 From: scorpion-26 <58082714+scorpion-26@users.noreply.github.com> Date: Mon, 27 Feb 2023 21:02:43 +0100 Subject: [PATCH] Buildsystem: Remove LTO by default LTO under gcc is suboptimal due to: 1. No thin LTO 2. Basically requires gcc-ar for static library support. Nix systems apparently don't have that. Fixes https://github.com/scorpion-26/gBar/issues/10 --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 6a620ec..e6f36df 100644 --- a/meson.build +++ b/meson.build @@ -6,8 +6,7 @@ project('gBar', default_options: ['c_std=c++17', 'warning_level=3', 'default_library=static', - 'buildtype=release', - 'b_lto=true'], + 'buildtype=release'], ) gtk = dependency('gtk+-3.0')