We can finally enable -Werror :)
authorMichael Brown <mcb30@etherboot.org>
Tue, 24 Jul 2007 11:43:11 +0000 (12:43 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 24 Jul 2007 11:43:11 +0000 (12:43 +0100)
src/Makefile

index 3ed947f..c313bb5 100644 (file)
@@ -101,7 +101,7 @@ DOXYGEN             ?= doxygen
 #
 CFLAGS         += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
 CFLAGS         += -Os -ffreestanding
 #
 CFLAGS         += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
 CFLAGS         += -Os -ffreestanding
-CFLAGS         += -Wall -W
+CFLAGS         += -Wall -W -Werror
 CFLAGS         += -g
 CFLAGS         += $(EXTRA_CFLAGS)
 ASFLAGS                += $(EXTRA_ASFLAGS)
 CFLAGS         += -g
 CFLAGS         += $(EXTRA_CFLAGS)
 ASFLAGS                += $(EXTRA_ASFLAGS)