New configure flag --enable-profiling to compile and link with -pg (for
gprof) svn-id: r32970
This commit is contained in:
parent
a833c9dd86
commit
d9f0753009
1 changed files with 4 additions and 0 deletions
4
configure
vendored
4
configure
vendored
|
@ -741,6 +741,10 @@ for ac_option in $@; do
|
|||
--enable-release)
|
||||
DEBFLAGS="-O2 -Wuninitialized"
|
||||
;;
|
||||
--enable-profiling)
|
||||
CXXFLAGS="$CXXFLAGS -pg"
|
||||
LDFLAGS="$LDFLAGS -pg"
|
||||
;;
|
||||
--with-sdl-prefix=*)
|
||||
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||
_sdlpath="$arg:$arg/bin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue