Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] Revert "package/janet: add -std=c99 to CFLAGS"
@ 2021-03-13  9:59 Fabrice Fontaine
  2021-03-13  9:59 ` [Buildroot] [PATCH 2/3] package/janet: defaults to c99 for build.c_std Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-03-13  9:59 UTC (permalink / raw)
  To: buildroot

This reverts commit b5e8f1c1475b46c8d9b7159aafe983e72d329d29. 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>
---
 package/janet/janet.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/janet/janet.mk b/package/janet/janet.mk
index ea042221d8..7243d60c01 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
-- 
2.30.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-14 13:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-13  9:59 [Buildroot] [PATCH 1/3] Revert "package/janet: add -std=c99 to CFLAGS" Fabrice Fontaine
2021-03-13  9:59 ` [Buildroot] [PATCH 2/3] package/janet: defaults to c99 for build.c_std Fabrice Fontaine
2021-03-13  9:59 ` [Buildroot] [PATCH 3/3] package/janet: fix static build Fabrice Fontaine
2021-03-14 13:04 ` [Buildroot] [PATCH 1/3] Revert "package/janet: add -std=c99 to CFLAGS" Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox