Skip to content

Commit

Permalink
do_autogen: add -O2 when compiling for profiling
Browse files Browse the repository at this point in the history
Signed-off-by: Colin McCabe <[email protected]>
  • Loading branch information
cmccabe committed Mar 7, 2011
1 parent dc8ff94 commit 468ce23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion do_autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 468ce23

Please sign in to comment.