aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-07-02 18:14:11 +0200
committerToni Uhlig <matzeton@googlemail.com>2022-07-03 17:31:54 +0200
commitc1d8d45ff9ed031596b8de8ff49412633d129d12 (patch)
treec40f2969e8a89e5ef2269cfb9c53b76bf0853178 /configure.ac
parent6b6b193c97a163c7d6b271f9258b7c967cc2412f (diff)
Generate profiling results as PNG.add/gprof-test-ci-integration
* use -ltcmalloc_and_profiler and try to get rid of LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libprofiler.so Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b9c4259b9..5c881ab99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -286,7 +286,7 @@ AS_IF([test "x$enable_gprof" = "xyes"], [
AC_MSG_ERROR([libtcmalloc not available. Required for profiling support.])
])
GPROF_ENABLED=1
- GPROF_LIBS="${pkg_cv_PROFILER_LIBS} ${pkg_cv_TCMALLOC_LIBS}"
+ GPROF_LIBS="-ltcmalloc_and_profiler"
GPROF_CFLAGS="${pkg_cv_PROFILER_CFLAGS} ${pkg_cv_TCMALLOC_CFLAGS}"
])