[Ffmpeg-cvslog] r5832 - trunk/configure
diego
subversion
Fri Jul 28 00:10:11 CEST 2006
Author: diego
Date: Fri Jul 28 00:10:11 2006
New Revision: 5832
Modified:
trunk/configure
Log:
Do not add -fomit-frame-pointer to CFLAGS when optimizations are disabled.
patch by Graham Booker, ffmpeglist atat cod3r dotdot com
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Fri Jul 28 00:10:11 2006
@@ -1016,22 +1016,25 @@
gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f3-`"
case "$gcc_version" in
*2.95*)
- CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer"
+ CFLAGS="$CFLAGS -no-cpp-precomp -pipe"
;;
*[34].*)
- CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare"
+ CFLAGS="$CFLAGS -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare"
if test "$lshared" = no; then
needmdynamicnopic="yes"
fi
;;
*)
- CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer"
+ CFLAGS="$CFLAGS -no-cpp-precomp -pipe"
if test "$lshared" = no; then
needmdynamicnopic="yes"
fi
;;
esac
fi
+ if test $optimize != "no"; then
+ CFLAGS="$CFLAGS -fomit-frame-pointer"
+ fi
fi
# Can only do AltiVec on PowerPC
More information about the ffmpeg-cvslog
mailing list