http://git.etherboot.org
/
people
/
sha0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75912b3
)
Allow -Werror to be temporarily disabled using "make NO_WERROR=1"
author
Michael Brown
<mcb30@etherboot.org>
Tue, 24 Jul 2007 13:01:14 +0000
(14:01 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 24 Jul 2007 13:01:14 +0000
(14:01 +0100)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
c313bb5
..
a567b92
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-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 +=