Add debug symbols to objects. (They will be stripped out of the final
authorMichael Brown <mcb30@etherboot.org>
Thu, 23 Mar 2006 13:09:29 +0000 (13:09 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 23 Mar 2006 13:09:29 +0000 (13:09 +0000)
-Obinary build anyway, so it doesn't waste any space).

src/Makefile

index a788d6e..d2ea5c6 100644 (file)
@@ -90,6 +90,7 @@ BIN           ?= bin
 CFLAGS         += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
 CFLAGS         += -Os -ffreestanding
 CFLAGS         += -Wall -W -Wno-format
+CFLAGS         += -g
 CFLAGS         += $(EXTRA_CFLAGS)
 ASFLAGS                += $(EXTRA_ASFLAGS)
 LDFLAGS                += $(EXTRA_LDFLAGS)