From: John Hodge Date: Fri, 4 Oct 2013 13:16:15 +0000 (+0800) Subject: Modules/Makefile - added -fno-omit-frame-pointer to aid debugging X-Git-Tag: rel0.15~141 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=743dfbb0e8f53a92333c6212f20cc65afaa05cf2;p=tpg%2Facess2.git Modules/Makefile - added -fno-omit-frame-pointer to aid debugging --- diff --git a/KernelLand/Modules/Makefile.tpl b/KernelLand/Modules/Makefile.tpl index 2003c923..98d0760c 100644 --- a/KernelLand/Modules/Makefile.tpl +++ b/KernelLand/Modules/Makefile.tpl @@ -16,7 +16,7 @@ CPPFLAGS += -DARCH=$(ARCH) -DARCH_is_$(ARCH) -DARCHDIR_is_$(ARCHDIR) CPPFLAGS += $(_CPPFLAGS) CPPFLAGS += $(LIBINCLUDES) -ffreestanding CFLAGS := -std=gnu99 -Wall -fno-stack-protector -g -O3 -CFLAGS += -Werror +CFLAGS += -Werror -fno-omit-frame-pointer ifneq ($(CATEGORY),) FULLNAME := $(CATEGORY)_$(NAME)