]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Allow NO_WERROR=1 to inhibit --fatal-warnings as well as -Werror
authorMichael Brown <mcb30@etherboot.org>
Mon, 16 Feb 2009 01:06:40 +0000 (01:06 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 16 Feb 2009 01:06:40 +0000 (01:06 +0000)
src/Makefile.housekeeping

index d8413447cfe93f090a9a92d322f184b473256111..2146d9cbf2e1fdde71a99a7fe1061d4f42f235fb 100644 (file)
@@ -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)
 
@@ -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