diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-10-05 14:34:26 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-10-05 14:34:45 +0200 |
commit | 0c25125780083cbba22ed627756548efe282d1a0 (patch) | |
tree | 000a477d3236c5ea8b0deaf5fa302cfb3bea7b44 /gmon | |
parent | 7ea59e3e5da8a3e74e1fde51d6e404d1a7209d8e (diff) | |
download | glibc-0c25125780083cbba22ed627756548efe282d1a0.tar.gz |
tst-gmon: Build with -fno-omit-frame-pointer
If glibc is built with -fomit-frame-pointer to undo the effect of
configuring GCC with --enable-frame-pointer, using -pg by itself results
in a build failure:
gcc: error: -pg and -fomit-frame-pointer are incompatible
Diffstat (limited to 'gmon')
-rw-r--r-- | gmon/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gmon/Makefile b/gmon/Makefile index ea5d88412a..79e29d188f 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 |