package/libtasn1: fix build with gcc 4.8
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 24 Apr 2020 18:03:21 +0000 (20:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 27 Apr 2020 20:31:03 +0000 (22:31 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/0030c903abf6c964806a97067af94a99867a3896

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libtasn1/libtasn1.mk

index 9b8260ab48c287a9e76c92922ac298b44b88d66b..d5a6c6996525354c8e10afc970120ae406513f1a 100644 (file)
@@ -17,4 +17,6 @@ LIBTASN1_AUTORECONF = YES
 # 'missing' fallback logic botched so disable it completely
 LIBTASN1_CONF_ENV = MAKEINFO="true"
 
+LIBTASN1_CONF_OPTS = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
+
 $(eval $(autotools-package))