From: Jean THOMAS Date: Tue, 23 Jun 2020 14:09:04 +0000 (+0200) Subject: Compile libgram as C99 code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f25cc82d6f7a1dc96eeb7f1d4cca611a3d94a99a;p=gram.git Compile libgram as C99 code --- 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-)