package/gstreamer1/gstd: fix build with gcc 4.8
Fix the following build failure with gcc 4.8 raised since bump to version 0.14.0 in commita334b9a766
ande83c94920b
: ../libgstd/libgstd.c: In function 'gstd_set_ipc': ../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) { ^ Fixes: - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
d0ffdb2bdd
commit
441bd6c469
@ -28,6 +28,8 @@ GSTD_CONF_OPTS = \
|
||||
-Dwith-gstd-logstatedir=/var/log/gstd \
|
||||
-Dwith-gstd-systemddir=/usr/lib/systemd/system
|
||||
|
||||
GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled
|
||||
GSTD_DEPENDENCIES += systemd
|
||||
|
Loading…
Reference in New Issue
Block a user