aboutsummaryrefslogtreecommitdiff
path: root/gmon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gmon/Makefile')
-rw-r--r--gmon/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmon/Makefile b/gmon/Makefile
index ea5d884..79e29d1 100644
--- a/gmon/Makefile
+++ b/gmon/Makefile
@@ -36,7 +36,7 @@ endif
# The mcount code won't work without a frame pointer.
CFLAGS-mcount.c := -fno-omit-frame-pointer
-CFLAGS-tst-gmon.c := -pg
+CFLAGS-tst-gmon.c := -fno-omit-frame-pointer -pg
LDFLAGS-tst-gmon := $(no-pie-ldflag)
CRT-tst-gmon := $(csu-objpfx)gcrt1.o
tst-gmon-ENV := GMON_OUT_PREFIX=$(objpfx)tst-gmon.data