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:
parent
3d03fa4038
commit
d591379bef
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in New Issue