From 5f733d0f5e264a800919c16c36e0fcd7a565aaab Mon Sep 17 00:00:00 2001 From: Alik Aslanyan Date: Sun, 5 May 2024 23:17:11 +0400 Subject: [PATCH] Enable LTO in suported compilers for Meson --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 40883073ee4..c77ff5670d0 100644 --- a/meson.build +++ b/meson.build @@ -5,6 +5,7 @@ project('Hyprland', 'cpp', 'c', 'default_library=static', 'optimization=3', 'buildtype=release', + 'b_lto=true', 'debug=false' # 'cpp_std=c++23' # not yet supported by meson, as of version 0.63.0 ])