Browse Source

[build] Treat warnings as errors in assembly files

Add --fatal-warnings to ASFLAGS; this is the equivalent of -Werror in
CFLAGS (which we have used since July 2007).
tags/v0.9.7
Michael Brown 16 years ago
parent
commit
79867d34ee
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/Makefile.housekeeping

+ 1
- 0
src/Makefile.housekeeping View File

@@ -276,6 +276,7 @@ CFLAGS		+= -Os -ffreestanding
276 276
 CFLAGS		+= -Wall -W -Wformat-nonliteral
277 277
 CFLAGS		+= -g
278 278
 CFLAGS		+= $(EXTRA_CFLAGS)
279
+ASFLAGS		+= --fatal-warnings
279 280
 ASFLAGS		+= $(EXTRA_ASFLAGS)
280 281
 LDFLAGS		+= $(EXTRA_LDFLAGS)
281 282
 

Loading…
Cancel
Save