diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2004-05-18 22:49:15 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2004-05-18 22:49:15 +0000 |
| commit | b320e7fae77f77678f361e20672a16740b7f6d31 (patch) | |
| tree | b1e3b151b0bfb2d6b61948bf3aae8555f950e6c9 /lib/libc | |
| parent | aa588a66d1934ac19746685843fe5ff4ea9f05f5 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gmon/Makefile.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc index 36d47e51acdf..535e7dee2557 100644 --- a/lib/libc/gmon/Makefile.inc +++ b/lib/libc/gmon/Makefile.inc @@ -10,6 +10,12 @@ MAN+= moncontrol.3 MLINKS+=moncontrol.3 monstartup.3 +.if ${MACHINE_ARCH} == amd64 +# mcount needs to be compiled with frame pointers and without profiling +mcount.po: mcount.c + ${CC} ${CFLAGS} -fno-omit-frame-pointer -c ${.IMPSRC} -o ${.TARGET} +.else # mcount cannot be compiled with profiling mcount.po: mcount.o cp mcount.o mcount.po +.endif |
