build: enable link-time optimization

This commit is contained in:
Vladimir Stoiakin 2025-05-07 14:50:29 +03:00
parent ba3f08698e
commit 0fca677861

View file

@ -1,6 +1,6 @@
project('buffybox', 'c',
version: '3.3.0',
default_options: ['warning_level=3', 'b_ndebug=if-release'],
default_options: ['warning_level=3', 'b_ndebug=if-release', 'b_lto=true'],
meson_version: '>= 0.60.0'
)