Skip to content

Commit

Permalink
[build] Allow NO_WERROR=1 to inhibit --fatal-warnings as well as -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Feb 16, 2009
1 parent 24e948f commit 78a57a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile.housekeeping
Expand Up @@ -283,7 +283,6 @@ CFLAGS += -Os -ffreestanding
CFLAGS += -Wall -W -Wformat-nonliteral
CFLAGS += -g
CFLAGS += $(EXTRA_CFLAGS)
ASFLAGS += --fatal-warnings
ASFLAGS += $(EXTRA_ASFLAGS)
LDFLAGS += $(EXTRA_LDFLAGS)

Expand All @@ -295,6 +294,7 @@ EMBEDDED_IMAGE = image/default.gpxe
#
ifneq ($(NO_WERROR),1)
CFLAGS += -Werror
ASFLAGS += --fatal-warnings
endif

# compiler.h is needed for our linking and debugging system
Expand Down

0 comments on commit 78a57a6

Please sign in to comment.