Use Werror for avr architecture

This commit is contained in:
Jeremy Soller 2019-11-11 09:35:11 -07:00
parent 285e9bc437
commit badc84d99b
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -1,5 +1,5 @@
CC=avr-gcc -mmcu=$(EC)
CFLAGS+=-Os -fstack-usage -Wall -Wl,--gc-sections -Wl,-u,vfprintf -lprintf_flt
CFLAGS+=-Os -fstack-usage -Wall -Werror -Wl,--gc-sections -Wl,-u,vfprintf -lprintf_flt
OBJ=$(patsubst src/%.c,$(BUILD)/%.o,$(SRC))
# Run EC rom in simulator