Browse Source

[build] Allow NO_WERROR=1 to inhibit --fatal-warnings as well as -Werror

tags/v0.9.7
Michael Brown 15 years ago
parent
commit
78a57a6f76
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Makefile.housekeeping

+ 1
- 1
src/Makefile.housekeeping View File

@@ -283,7 +283,6 @@ CFLAGS		+= -Os -ffreestanding
283 283
 CFLAGS		+= -Wall -W -Wformat-nonliteral
284 284
 CFLAGS		+= -g
285 285
 CFLAGS		+= $(EXTRA_CFLAGS)
286
-ASFLAGS		+= --fatal-warnings
287 286
 ASFLAGS		+= $(EXTRA_ASFLAGS)
288 287
 LDFLAGS		+= $(EXTRA_LDFLAGS)
289 288
 
@@ -295,6 +294,7 @@ EMBEDDED_IMAGE	= image/default.gpxe
295 294
 #
296 295
 ifneq ($(NO_WERROR),1)
297 296
 CFLAGS		+= -Werror
297
+ASFLAGS		+= --fatal-warnings
298 298
 endif
299 299
 
300 300
 # compiler.h is needed for our linking and debugging system

Loading…
Cancel
Save