From 16c4fa9f829e5faad0814d3cb1952e8f5e007cc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Tomko?= Date: Fri, 16 May 2025 18:54:33 +0200 Subject: [PATCH] build: do not use -Winline MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don't really care if a function cannot be inlined. Signed-off-by: Ján Tomko Reviewed-by: Michal Privoznik --- meson.build | 6 ------ 1 file changed, 6 deletions(-) diff --git a/meson.build b/meson.build index bb0436e072..a46c2a7037 100644 --- a/meson.build +++ b/meson.build @@ -438,12 +438,6 @@ cc_flags += [ '-Wwrite-strings', ] -if get_option('optimization') != 'g' - # Seemingly insignificant changes in the source program can cause the warnings - # produced by -Winline to appear or disappear. - cc_flags += [ '-Winline' ] -endif - if cc.get_id() == 'clang' # Stop CLang from doing inter-procedural analysis of calls # between functions in the same compilation unit. Such an -- 2.47.2