From: John Hodge Date: Tue, 14 May 2013 03:07:43 +0000 (+0800) Subject: Kernel - Disabled omission of frame pointer (debugging) X-Git-Tag: rel0.15~497 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c1891e1eeadd75d17c92d093d50915fdb100d6fe;p=tpg%2Facess2.git Kernel - Disabled omission of frame pointer (debugging) --- diff --git a/KernelLand/Kernel/Makefile b/KernelLand/Kernel/Makefile index d6b936fa..f955068e 100644 --- a/KernelLand/Kernel/Makefile +++ b/KernelLand/Kernel/Makefile @@ -25,7 +25,7 @@ ASFLAGS += -D ARCHDIR_IS_$(ARCHDIR)=1 -D PLATFORM_is_$(PLATFORM)=1 CPPFLAGS += -I./include -I./arch/$(ARCHDIR)/include -D_MODULE_NAME_=\"Kernel\" CPPFLAGS += -D ARCH=$(ARCH) -D ARCHDIR=$(ARCHDIR) -D PLATFORM=\"$(PLATFORM)\" -D ARCHDIR_IS_$(ARCHDIR)=1 -D PLATFORM_is_$(PLATFORM)=1 CPPFLAGS += -D KERNEL_VERSION=$(KERNEL_VERSION) -ffreestanding -CFLAGS += -Wall -fno-stack-protector -Wstrict-prototypes -std=gnu99 -g +CFLAGS += -Wall -fno-stack-protector -Wstrict-prototypes -std=gnu99 -g -fno-omit-frame-pointer CFLAGS += -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wuninitialized CFLAGS += -O3 LDFLAGS += -T arch/$(ARCHDIR)/link.ld -g