[libvirt PATCH 2/2] build: do not use -Winline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ján Tomko <jtomko@xxxxxxxxxx>

We don't really care if a function cannot be inlined.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux