From 21c58729ae464a844b551893c69e5e37f2329b5a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 23 Mar 2006 13:09:29 +0000 Subject: [PATCH] Add debug symbols to objects. (They will be stripped out of the final -Obinary build anyway, so it doesn't waste any space). --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index a788d6e1..d2ea5c63 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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)