From d591379befb9461eec2a01cf294683899176dd99 Mon Sep 17 00:00:00 2001 From: Jack Massey Date: Mon, 25 Feb 2019 21:08:58 +1000 Subject: [PATCH] Fix c99 compile issues This software depends on c99 despite the fact that it's not present in the compile flags. This has been fixed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a09ae0..f375fc6 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ SIZE = avr-size SRC_TMP = $(subst ../,,$(SRC)) OBJ = $(SRC_TMP:%.c=$(OBJDIR)/$(AVRMCU)/%.o) -CFLAGS = -I include -I images -I fonts -Os -Wall -Wstrict-prototypes +CFLAGS = -I include -I images -I fonts -Os -Wall -Wstrict-prototypes --std=c99 CFLAGS += -ffunction-sections -fdata-sections CFLAGS += -fshort-enums -fpack-struct -funsigned-char -funsigned-bitfields CFLAGS += -mmcu=$(AVRMCU) -DF_CPU=$(F_CPU)UL -DVERSION=$(VERSION)