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.
This commit is contained in:
Jack Massey 2019-02-25 21:08:58 +10:00
parent 3d03fa4038
commit d591379bef
1 changed files with 1 additions and 1 deletions

View File

@ -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)