forked from Mirrors/flatpak-builder
build: Add -std=gnu99 to libglnx CFLAGS
It uses inline for loop initialisers, which are a C99 feature. Set -std=gnu99 like ostree.git does for its libglnx submodule. Based on a patch by Georges Basile Stavracas Neto <georges.stavracas@gmail.com>. Signed-off-by: Philip Withnall <withnall@endlessm.com>tingping/wmclass
parent
eecdcbd195
commit
59e4e3f72b
|
@ -79,6 +79,7 @@ libglnx_srcpath := $(srcdir)/libglnx
|
|||
libglnx_cflags := \
|
||||
$(BASE_CFLAGS) \
|
||||
"-I$(libglnx_srcpath)" \
|
||||
-std=gnu99 \
|
||||
$(HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(NULL)
|
||||
libglnx_libs := $(BASE_LIBS)
|
||||
|
|
Loading…
Reference in New Issue