瀏覽代碼

[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 年之前
父節點
當前提交
79867d34ee
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/Makefile.housekeeping

+ 1
- 0
src/Makefile.housekeeping 查看文件

@@ -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…
取消
儲存