From 1db54e20ff5a02e49bb59e3337c141a077bebf08 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 10 Jul 2006 00:49:16 +0000 Subject: Move gprof compiler flag handling to configure. Originally committed as revision 5701 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 0075250436..36ffcf0a83 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3