package/libdvdread: fix build with gcc-4.8
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 11 Apr 2020 12:34:51 +0000 (14:34 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Apr 2020 21:25:36 +0000 (23:25 +0200)
Fixes:
http://autobuild.buildroot.net/results/28a/28a2e837eae1dae9214fab1aec119a9aa6b2e5c0/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libdvdread/libdvdread.mk

index 9a8eb7cacdab75c6c07f8f1c4d6a134af61cce8f..aa91d3162a5c9578b27739e21d38f0a3e150e4a0 100644 (file)
@@ -10,6 +10,7 @@ LIBDVDREAD_SITE = http://www.videolan.org/pub/videolan/libdvdread/$(LIBDVDREAD_V
 LIBDVDREAD_INSTALL_STAGING = YES
 LIBDVDREAD_LICENSE = GPL-2.0+
 LIBDVDREAD_LICENSE_FILES = COPYING
+LIBDVDREAD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
 LIBDVDREAD_CONF_OPTS = --with-libdvdcss
 LIBDVDREAD_DEPENDENCIES = libdvdcss host-pkgconf