[Spice-devel] [PATCH spice-common] meson: Disable -std=c99
Frediano Ziglio
fziglio at redhat.com
Mon Jul 9 08:04:07 UTC 2018
This flag disable some compiler feature which is used by some
system header potentially introducing some limitations.
Autotools does not set this flag.
For instance some Posix limitations changes (like _POSIX_OPEN_MAX).
As compiler feature for instance _Static_assert is not used.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
meson.build | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 2b91e82..466bb06 100644
--- a/meson.build
+++ b/meson.build
@@ -10,8 +10,7 @@ if not meson.is_subproject()
endif
# some global vars
-spice_common_global_cflags = ['-std=c99',
- '-DHAVE_CONFIG_H',
+spice_common_global_cflags = ['-DHAVE_CONFIG_H',
'-DG_LOG_DOMAIN="Spice"',
'-Wall',
'-Wextra',
--
2.17.1
More information about the Spice-devel
mailing list