kumquat-buildroot/package/janet/janet.mk
Fabrice Fontaine 3193e37374 Revert "package/janet: add -std=c99 to CFLAGS"
This reverts commit b5e8f1c147. Indeed,
this commit does not fix the build failure as c_std=c99 is already set
in default_options in meson.build.

The issue is that this parameter is not used for native executables
since meson 0.51.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-03-14 14:03:24 +01:00

23 lines
530 B
Makefile

################################################################################
#
# janet
#
################################################################################
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
ifeq ($(BR2_STATIC_LIBS),y)
JANET_CONF_OPTS += -Ddynamic_modules=false
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
JANET_CONF_OPTS += -Dsingle_threaded=true
endif
$(eval $(meson-package))