Added -Werror to turn compiler warnings into errors to ensure that code always compile without warnings

This commit is contained in:
adamdunkels 2007-11-17 10:37:28 +00:00
parent 7fd1eca954
commit 4ce9b8a33b

View file

@ -8,7 +8,7 @@ LD = gcc
AS = as
OBJCOPY = objcopy
STRIP = strip
CFLAGSNO = -Wall -g -I/usr/local/include
CFLAGSNO = -Wall -Werror -g -I/usr/local/include
CFLAGS += $(CFLAGSNO) -O
LDFLAGS = -Wl,-Map=contiki-$(TARGET).map,-export-dynamic