From 4ce9b8a33baacfcf59c5d846f0effd4b91cb7542 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sat, 17 Nov 2007 10:37:28 +0000 Subject: [PATCH] Added -Werror to turn compiler warnings into errors to ensure that code always compile without warnings --- cpu/native/Makefile.native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/native/Makefile.native b/cpu/native/Makefile.native index 77a7acf23..b3198f91a 100644 --- a/cpu/native/Makefile.native +++ b/cpu/native/Makefile.native @@ -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