diff options
Diffstat (limited to 'gmon/Makefile')
-rw-r--r-- | gmon/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gmon/Makefile b/gmon/Makefile index 26051ed..b42c14a 100644 --- a/gmon/Makefile +++ b/gmon/Makefile @@ -62,8 +62,9 @@ tests-static += tst-gmon-static-pie endif endif -# The mcount code won't work without a frame pointer. -CFLAGS-mcount.c := -fno-omit-frame-pointer +# The mcount code won't work without a frame pointer nor when memcpy or +# memset are called. +CFLAGS-mcount.c := -fno-omit-frame-pointer -fno-tree-loop-distribute-patterns CFLAGS-tst-gmon.c := -fno-omit-frame-pointer -pg tst-gmon-no-pie = yes |