]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: do not use -Winline
authorJán Tomko <jtomko@redhat.com>
Fri, 16 May 2025 16:54:33 +0000 (18:54 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 19 May 2025 14:51:58 +0000 (16:51 +0200)
We don't really care if a function cannot be inlined.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
meson.build

index bb0436e0720ee3d955535b44ca5980038c841390..a46c2a7037fa6210856566579c4b4e143e302d0c 100644 (file)
@@ -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