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
This commit is contained in:
scorpion-26 2023-02-27 21:02:43 +01:00
parent c536e43cd0
commit 6d3f1b64f4

View file

@ -6,8 +6,7 @@ project('gBar',
default_options: ['c_std=c++17', default_options: ['c_std=c++17',
'warning_level=3', 'warning_level=3',
'default_library=static', 'default_library=static',
'buildtype=release', 'buildtype=release'],
'b_lto=true'],
) )
gtk = dependency('gtk+-3.0') gtk = dependency('gtk+-3.0')