aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bartosz Bilas <b.bilas@grinn-global.com>2021-03-04 18:54:28 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2021-03-05 23:15:17 +0100
commitb5e8f1c1475b46c8d9b7159aafe983e72d329d29 (patch)
treeb0360b41c0948983e30ce7a430bcf981bb9143f8
parent1e07dc4ed2ccd791c607fa2fae3547b45227cc54 (diff)
downloadbuildroot-b5e8f1c1475b46c8d9b7159aafe983e72d329d29.tar.gz
buildroot-b5e8f1c1475b46c8d9b7159aafe983e72d329d29.tar.bz2
package/janet: add -std=c99 to CFLAGS
As upstream says Janet should be compiled with -std=c99 so pass this in order to fix the failures below. Fixes: http://autobuild.buildroot.net/results/192/1922ec115b9dc9e879760a6868969d9677093510/build-end.log ... http://autobuild.buildroot.net/results/355/355e0992338a8d132050517f83a3884606b00529/build-end.log Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/janet/janet.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/janet/janet.mk b/package/janet/janet.mk
index 7243d60c01..ea042221d8 100644
--- a/package/janet/janet.mk
+++ b/package/janet/janet.mk
@@ -8,8 +8,8 @@ JANET_VERSION = 1.15.0
JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION))
JANET_LICENSE = MIT
JANET_LICENSE_FILES = LICENSE
-
JANET_INSTALL_STAGING = YES
+JANET_CFLAGS = $(TARGET_CFLAGS) -std=c99
ifeq ($(BR2_STATIC_LIBS),y)
JANET_CONF_OPTS += -Ddynamic_modules=false