mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
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@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
9bf4c32288
commit
6ea60433de
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user