summaryrefslogtreecommitdiffstats
path: root/do_autogen.sh
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-08-16 20:07:41 +0200
committerSage Weil <sage@inktank.com>2012-08-16 20:07:41 +0200
commit85558759d712c2dc986df6422fe0bcc1dbb3eac2 (patch)
tree9c6f1d567b603981cd0b405c0893c9f34da97fe1 /do_autogen.sh
parentdo_autogen.sh: -p to pass --with-profiler to configure (google cpu profiler) (diff)
downloadceph-85558759d712c2dc986df6422fe0bcc1dbb3eac2.tar.xz
ceph-85558759d712c2dc986df6422fe0bcc1dbb3eac2.zip
do_autogen.sh: apply 'profiler' options to CXXFLAGS, too
-P now leaves in frame pointers and makes sure debugging is turned down. Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'do_autogen.sh')
-rwxr-xr-xdo_autogen.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/do_autogen.sh b/do_autogen.sh
index 3e3e673883e..e79db086811 100755
--- a/do_autogen.sh
+++ b/do_autogen.sh
@@ -64,6 +64,7 @@ different than debug builds."
exit 1
fi
CFLAGS="${CFLAGS} -fno-omit-frame-pointer -O2"
+ CXXFLAGS="${CXXFLAGS} -fno-omit-frame-pointer -O2"
debug_level=1
fi