summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2009-08-20 19:41:34 -0700
committerRoland McGrath <[email protected]>2009-08-20 19:42:02 -0700
commit6a0265192e86c386b1e4f6c2d6b61819d08daa2a (patch)
treec6b35d1403b3798a237a686688b2cc8a8f58f791 /configure.ac
parent6732e03ef2ac24a272c101324d2d6736df619554 (diff)
Fix --enable-gprof for C++.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5235522a..9c3ffb00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,6 +169,7 @@ AC_HELP_STRING([--enable-gprof],
[build binaries with gprof support]), [use_gprof=yes], [use_gprof=no])
if test "$use_gprof" = yes; then
CFLAGS="$CFLAGS -pg"
+ CXXFLAGS="$CXXFLAGS -pg"
LDFLAGS="$LDFLAGS -pg"
fi
AM_CONDITIONAL(GPROF, test "$use_gprof" = yes)