2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-13 23:01:31 +00:00

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

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 +=