Added -Werror to turn compiler warnings into errors to ensure that code always compile without warnings
This commit is contained in:
parent
7fd1eca954
commit
4ce9b8a33b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue