* [Buildroot] [PATCH] package/janet: add -std=c99 to CFLAGS
@ 2021-03-04 17:54 Bartosz Bilas
2021-03-05 22:15 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Bilas @ 2021-03-04 17:54 UTC (permalink / raw)
To: buildroot
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>
---
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 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
--
2.30.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/janet: add -std=c99 to CFLAGS
2021-03-04 17:54 [Buildroot] [PATCH] package/janet: add -std=c99 to CFLAGS Bartosz Bilas
@ 2021-03-05 22:15 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2021-03-05 22:15 UTC (permalink / raw)
To: buildroot
>>>>> "Bartosz" == Bartosz Bilas <b.bilas@grinn-global.com> writes:
> 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>
Committed to next, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-05 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 17:54 [Buildroot] [PATCH] package/janet: add -std=c99 to CFLAGS Bartosz Bilas
2021-03-05 22:15 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.