mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
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
This commit is contained in:
parent
7ea59e3e5d
commit
0c25125780
@ -1,3 +1,7 @@
|
||||
2017-10-05 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
|
||||
|
||||
2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/s390/fpu/libm-test-ulps: Regenerated.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user