From: Ján Tomko Date: Fri, 16 May 2025 16:54:33 +0000 (+0200) Subject: build: do not use -Winline X-Git-Tag: v11.4.0-rc1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16c4fa9f829e5faad0814d3cb1952e8f5e007cc6;p=thirdparty%2Flibvirt.git build: do not use -Winline We don't really care if a function cannot be inlined. Signed-off-by: Ján Tomko Reviewed-by: Michal Privoznik --- 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