From: Ján Tomko <jto...@redhat.com> We don't really care if a function cannot be inlined.
Signed-off-by: Ján Tomko <jto...@redhat.com> --- 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.49.0