diff options
author | Bertrand Augereau | 2008-07-09 02:19:57 +0000 |
---|---|---|
committer | Bertrand Augereau | 2008-07-09 02:19:57 +0000 |
commit | d9f07530092f511eba8f4d38d767849d6a5cdc4a (patch) | |
tree | 187b6f9b665b91667af1d03c9ea2f84046b6491c | |
parent | a833c9dd86ab3c5ca3ff93ebce05b4e06ebc733d (diff) | |
download | scummvm-rg350-d9f07530092f511eba8f4d38d767849d6a5cdc4a.tar.gz scummvm-rg350-d9f07530092f511eba8f4d38d767849d6a5cdc4a.tar.bz2 scummvm-rg350-d9f07530092f511eba8f4d38d767849d6a5cdc4a.zip |
New configure flag --enable-profiling to compile and link with -pg (for
gprof)
svn-id: r32970
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |