[Spice-commits] meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 10 08:55:30 UTC 2018

 meson.build |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6ea60433deffbf2ae9be7d536418b0c390673cc9
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Mon Jul 9 09:03:50 2018 +0100

    meson: Remove -std=c99
    This flag disable some compiler feature which is used by some system header
    potentially introducing some limitations.
    Autotools won't add any flag to limit compiler features to C99, instead it
    currently only add flags to support C99 when needed.
    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>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

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()
 # some global vars
-spice_common_global_cflags = ['-std=c99',
-                              '-DHAVE_CONFIG_H',
+spice_common_global_cflags = ['-DHAVE_CONFIG_H',

More information about the Spice-commits mailing list