Skip to content

Commit

Permalink
Allow -Werror to be temporarily disabled using "make NO_WERROR=1"
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Jul 24, 2007
1 parent 75912b3 commit ed9ba18
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Makefile
Expand Up @@ -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 +=
Expand Down

0 comments on commit ed9ba18

Please sign in to comment.