瀏覽代碼

Add debug symbols to objects. (They will be stripped out of the final

-Obinary build anyway, so it doesn't waste any space).
tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
21c58729ae
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/Makefile

+ 1
- 0
src/Makefile 查看文件

@@ -90,6 +90,7 @@ BIN		?= bin
90 90
 CFLAGS		+= -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
91 91
 CFLAGS		+= -Os -ffreestanding
92 92
 CFLAGS		+= -Wall -W -Wno-format
93
+CFLAGS		+= -g
93 94
 CFLAGS		+= $(EXTRA_CFLAGS)
94 95
 ASFLAGS		+= $(EXTRA_ASFLAGS)
95 96
 LDFLAGS		+= $(EXTRA_LDFLAGS)

Loading…
取消
儲存