[Scummvm-cvs-logs] SF.net SVN: scummvm: [32970] scummvm/trunk/configure
tramboi at users.sourceforge.net
tramboi at users.sourceforge.net
Wed Jul 9 04:19:57 CEST 2008
Revision: 32970
http://scummvm.svn.sourceforge.net/scummvm/?rev=32970&view=rev
Author: tramboi
Date: 2008-07-08 19:19:57 -0700 (Tue, 08 Jul 2008)
Log Message:
-----------
New configure flag --enable-profiling to compile and link with -pg (for
gprof)
Modified Paths:
--------------
scummvm/trunk/configure
Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure 2008-07-08 17:46:26 UTC (rev 32969)
+++ scummvm/trunk/configure 2008-07-09 02:19:57 UTC (rev 32970)
@@ -741,6 +741,10 @@
--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"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list