[PATCH spice-gtk] fixup! Add support for building with meson/ninja

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

 



Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>
---
 meson.build | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 2a72e79..52339b8 100644
--- a/meson.build
+++ b/meson.build
@@ -29,7 +29,8 @@ spice_gtk_global_cflags = ['-DHAVE_CONFIG_H',
                            '-Wall',
                            '-Wextra',
                            '-Wno-sign-compare',
-                           '-Wno-unused-parameter']
+                           '-Wno-unused-parameter',
+                           '-Wno-cast-function-type']
 
 # other global vars
 compiler = meson.get_compiler('c')
@@ -386,7 +387,7 @@ if spice_gtk_has_gtk
                               '-DGDK_VERSION_MAX_ALLOWED=@0@'.format(gtk_encoded_version)]
 endif
 
-foreach arg : spice_gtk_global_cflags
+foreach arg : compiler.get_supported_arguments(spice_gtk_global_cflags)
   add_project_arguments(arg, language : 'c')
 endforeach
 
-- 
2.14.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]