diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-03-07 03:04:39 -0800 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-03-07 03:04:39 -0800 |
commit | 468ce23ed3b13ab979a1619106c2ce9060c9d74f (patch) | |
tree | 11f83e3489a1ea68120309e645d7df1cd72220d0 /do_autogen.sh | |
parent | dc8ff94ee74b909f677174116a594baa7539aefb (diff) | |
download | ceph-468ce23ed3b13ab979a1619106c2ce9060c9d74f.tar.gz |
do_autogen: add -O2 when compiling for profiling
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'do_autogen.sh')
-rwxr-xr-x | do_autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/do_autogen.sh b/do_autogen.sh index 982d7654e37..d23ce7411e2 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -51,7 +51,7 @@ if [ $profile -eq 1 ]; then different than debug builds." exit 1 fi - CFLAGS="${CFLAGS} -fno-omit-frame-pointer" + CFLAGS="${CFLAGS} -fno-omit-frame-pointer -O2" debug_level=1 fi |