david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Allow -Werror to be temporarily disabled using "make NO_WERROR=1"

This commit is contained in:
Michael Brown 2007-07-24 14:01:14 +01:00
parent 75912b3b77
commit ed9ba18ec6
1 changed files with 5 additions and 1 deletions

View File

@ -101,12 +101,16 @@ DOXYGEN ?= doxygen
#
CFLAGS += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
CFLAGS += -Os -ffreestanding
CFLAGS += -Wall -W -Werror
CFLAGS += -Wall -W
CFLAGS += -g
CFLAGS += $(EXTRA_CFLAGS)
ASFLAGS += $(EXTRA_ASFLAGS)
LDFLAGS += $(EXTRA_LDFLAGS)
ifneq ($(NO_WERROR),1)
CFLAGS += -Werror
endif
# CFLAGS for specific object types
#
CFLAGS_c +=