diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-07-10 00:49:16 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-07-10 00:49:16 +0000 |
commit | 1db54e20ff5a02e49bb59e3337c141a077bebf08 (patch) | |
tree | 6f7c9143c7ae05c5e0215102472db17b4435e6c9 /configure | |
parent | dea4953d82ec03799c7b1e93c1bc390bdaf76ee3 (diff) | |
download | ffmpeg-1db54e20ff5a02e49bb59e3337c141a077bebf08.tar.gz |
Move gprof compiler flag handling to configure.
Originally committed as revision 5701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1448,6 +1448,11 @@ if test "$lshared" = "yes" ; then fi fi +if test "$gprof" = "yes" ; then + CFLAGS="$CFLAGS -p" + LDFLAGS="$LDFLAGS -p" +fi + if test x"$bindir" = x""; then bindir="${prefix}/bin" fi @@ -1680,7 +1685,6 @@ if test "$altivec" = "yes" ; then fi fi if test "$gprof" = "yes" ; then - echo "TARGET_GPROF=yes" >> config.mak echo "#define HAVE_GPROF 1" >> $TMPH fi if test "$localtime_r" = "yes" ; then |