Skip to contentSkip to conversation

package/janet: add -std=c99 to CFLAGS

PATCH New Bartosz Bilas 2 participants 2 messages Mar 4, 2021 – Mar 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/janet/janet.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/janet/janet.mk +1 -1
index 7243d60c01..ea042221d8 100644
@@ -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
Signature · 1 line
2.30.1
#1 lore raw

PATCH 1/1 package/janet: add -std=c99 to CFLAGS

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bartosz" == Bartosz Bilas <[email protected]> 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

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard