From 687dd4de21b258882d90fab9b8dcdf5f9516da9e Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sat, 4 Jan 2025 23:21:59 +0530 Subject: [PATCH] meson.build: enable LTO and -O3 for C schedulers --- meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index bd93bebd1..586311897 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,11 @@ project('sched_ext schedulers', 'c', version: '1.0.8', license: 'GPL-2.0', - meson_version : '>= 1.2.0',) + meson_version : '>= 1.2.0', + default_options : [ + 'optimization=3', + 'b_lto=true', + ]) fs = import('fs')