Compile libgram as C99 code
authorJean THOMAS <git0@pub.jeanthomas.me>
Tue, 23 Jun 2020 14:09:04 +0000 (16:09 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Tue, 23 Jun 2020 14:09:04 +0000 (16:09 +0200)
libgram/Makefile

index de67554d60c9a7e222d8de7f5c05f5b7fd0488c6..e1131dfbc83d2e65a195d38117ba1dcfd18521b1 100644 (file)
@@ -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-)