From f25cc82d6f7a1dc96eeb7f1d4cca611a3d94a99a Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 23 Jun 2020 16:09:04 +0200 Subject: [PATCH] Compile libgram as C99 code --- libgram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgram/Makefile b/libgram/Makefile index de67554..e1131df 100644 --- a/libgram/Makefile +++ b/libgram/Makefile @@ -8,7 +8,7 @@ OBJCOPY := $(TRIPLE)objcopy AR := $(TRIPLE)ar LD := $(TRIPLE)ld -CFLAGS += -fvisibility=hidden -nostdlib -Os -Iinclude +CFLAGS += -fvisibility=hidden -nostdlib -Os -Iinclude -std=c99 LDFLAGS += -nostdlib ifeq ($(TRIPLE),riscv64-unknown-elf-) -- 2.30.2