Commit b5395344 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Control -fomit-frame-pointer using CONFIG_FRAME_POINTER.

parent c4fb41cb
......@@ -700,6 +700,11 @@ config MCOUNT
depends on STACK_DEBUG
default y
config FRAME_POINTER
bool
depends on MCOUNT
default y
endmenu
source "security/Kconfig"
......
......@@ -52,7 +52,6 @@ ifeq ($(INLINE_LIMIT),y)
endif
ifeq ($(CONFIG_MCOUNT),y)
CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS))
CFLAGS := $(CFLAGS) -pg
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment