OSDN Git Service

dont use always_inine with -Os
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Apr 2004 20:50:01 +0000 (20:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Apr 2004 20:50:01 +0000 (20:50 +0000)
Originally committed as revision 3101 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index b53b15c..2c23721 100755 (executable)
--- a/configure
+++ b/configure
@@ -1301,6 +1301,10 @@ fi
 
 echo "#define restrict $_restrict" >> $TMPH
 
+if test "$optimize" = "small"; then
+  echo "#define always_inline"  >> $TMPH
+fi
+
 # build tree in object directory if source path is different from current one
 if test "$source_path_used" = "yes" ; then
     DIRS="libavformat libavcodec libavcodec/alpha libavcodec/armv4l libavcodec/i386 \